Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/native-bindings/libtesseract

Tesseract OCR bindings to NodeJS
https://github.com/native-bindings/libtesseract

bindings c javascript nodejs tesseract

Last synced: about 1 month ago
JSON representation

Tesseract OCR bindings to NodeJS

Awesome Lists containing this project

README

        

# tesseract_bindings

Tesseract OCR bindings to NodeJS

## Dependencies
```
sudo apt-get install -y tesseract-ocr tesseract-ocr-eng
```

## Installation
```
npm install --save tesseract_bindings
```

## Usage
```js
const {
Tesseract,
Image
} = require('tesseract_bindings');

const text = new Tesseract("eng").setImage(
new Image(__dirname + "/image.png")
).getUTF8Text();
```