0.0.2 • Published 8 years ago

octachore v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Octachore

Just another nodeJS wrapper for tesseract-ocr

Usage

const Octachore = require('octachore')

let ocr = new Octachore()

ocr.input(__dirname + '/data/test.tif')
  .output(__dirname + '/data/output/test')
  .lang('fra')
  .exec().catch((error) => {
    // Do something
  }).then((sdtout) => {
    // Do something
  })

API

  • input
  • output
  • lang
  • psm (page segmentation mode)

TODO

  • Make a C++ module for nodeJS with tesseract and leptonica