Update README.md

master
jeromewu 5 years ago committed by GitHub
parent 7cff0bb097
commit 6a44230162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      README.md

@ -9,7 +9,7 @@
[![Downloads Total](https://img.shields.io/npm/dt/tesseract.js.svg)](https://www.npmjs.com/package/tesseract.js)
[![Downloads Month](https://img.shields.io/npm/dm/tesseract.js.svg)](https://www.npmjs.com/package/tesseract.js)
**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!
## 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.

Loading…
Cancel
Save