@ -4,11 +4,13 @@
@@ -4,11 +4,13 @@
[](https://github.com/airbnb/javascript)
[](https://github.com/naptha/tesseract.js/graphs/commit-activity)
[](https://travis-ci.org/naptha/tesseract.js)
[](https://travis-ci.org/naptha/tesseract.js)
[](https://badge.fury.io/js/tesseract.js)
[](https://www.npmjs.com/package/tesseract.js)
[](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.**
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/))
[](http://tesseract.projectnaptha.com)
@ -43,7 +45,9 @@ You can simply include Tesseract.js with a CDN like this:
@@ -43,7 +45,9 @@ You can simply include Tesseract.js with a CDN like this:
After including your scripts, the `Tesseract` variable will be defined globally!
## npm
First:
### 1.x
```shell
> yarn add tesseract.js
```
@ -51,6 +55,17 @@ or
@@ -51,6 +55,17 @@ or
```
> npm install tesseract.js --save
```
### 2.x
```shell
> yarn add tesseract.js@next
```
or
```
> npm install tesseract.js@next --save
```
> Note: Tesseract.js currently requires Node.js v6.8.0 or higher.
# Documentation