Recognize text in images using OCR (optical character recognition) techniques.
npm install machinepack-ocr
Recognize text in images using OCR (optical character recognition) techniques.
> Based on node-tesseract.
This package has a hard dependency on Tesseract. You must have Tesseract installed on your laptop/server to use it.
#### Installing Tesseract
For Homebrew users, installing Tesseract is quick and easy:
``sh`
brew install tesseract --with-all-languages
You can find installation instructions for various platforms on the Tesseract project site.
> ##### Tesseract Version
> This probably works with any version of Tesseract v3.01 or higher, but I have only tested extensively with:
>
>``
>machinepack-ocr: ∑ tesseract -v
>tesseract 3.04.01
> leptonica-1.73
> libjpeg 8d : libpng 1.6.24 : libtiff 4.0.6 : zlib 1.2.5
>
#### Installing this machinepack
Now you can install the machinepack in your project:
`sh``
$ npm install machinepack-ocr
For the latest usage documentation, version information, and test status of this module, see http://node-machine.org/machinepack-ocr. The generated manpages for each machine contain a complete reference of all expected inputs, possible exit states, and example return values. If you need more help, or find a bug, jump into Gitter or leave a message in the project newsgroup.
This is a machinepack, an NPM module which exposes a set of related Node.js machines according to the machinepack specification.
Documentation pages for the machines contained in this module (as well as all other NPM-hosted machines for Node.js) are automatically generated and kept up-to-date on the public registry.
Learn more at http://node-machine.org/implementing/FAQ.
MIT © 2016 contributors