From 8f0eeb9f8407c39a95ea3211aa3c504a511582ac Mon Sep 17 00:00:00 2001 From: Jerome Wu <jeromewus@gmail.com> Date: Thu, 9 May 2019 02:37:49 +0800 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6a697e5..5d23a87 100644 --- a/README.md +++ b/README.md @@ -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: 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 ``` > 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