tesseract-js

Javascript wrapper for tesseract OCR.

tesseract.js

Javascript wrapper for tesseract OCR

[sudo] npm install [-g] tesseract-js
  • v0.0.1 - First release
var tesseractjs = require('../lib/tesseract')
var t = new tesseractjs.TesseractBinding();
console.log("Object created");
t.init("eng");
t.setImage(__dirname + "/images/test-image.jpg");
t.processImage();
console.log(t.getText());
t.close();
t.end();
npm test

Licensed under the incredibly permissive MIT License. Copyright © 2012 Sumit Ranjan.