octachore

v0.0.1
Just a nodeJS wrapper for Tesseract

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

Metadata

  • MIT
  • >=4.2.0
  • Rémy MEJA
  • released 3/2/2016

Downloads

Maintainers