**Tessearct.js v2 is now available and under development in master branch, check support/1.x branch for v1.**
**Tessearct.js v2 is now available and under development in master branch, check [support/1.x](https://github.com/naptha/tesseract.js/tree/support/1.x) branch for v1.**
Tesseract.js is a javascript library that gets words in [almost any language](./docs/tesseract_lang_list.md) out of images. ([Demo](http://tesseract.projectnaptha.com/))
@ -46,24 +46,30 @@ After including your scripts, the `Tesseract` variable will be defined globally!
@@ -46,24 +46,30 @@ After including your scripts, the `Tesseract` variable will be defined globally!
## npm
### 1.x
### 2.x
Major Changes
- Upgrade to tesseract v4
- Support multiple languages, ex: eng+chi_tra
- Support image formats: png, jpg, bmp, pbm
```shell
> yarn add tesseract.js
> yarn add tesseract.js@next
```
or
```
> npm install tesseract.js --save
> npm install tesseract.js@next --save
```
### 2.x
### 1.x
```shell
> yarn add tesseract.js@next
> yarn add tesseract.js
```
or
```
> npm install tesseract.js@next --save
> npm install tesseract.js --save
```
> Note: Tesseract.js currently requires Node.js v6.8.0 or higher.