Skip to content

Inist-CNRS/octachore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
  • hocr
  • pdf (searchable pdf)

TODO

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

About

Just another nodeJS wrapper for tesseract-ocr

Resources

License

Stars

Watchers

Forks

Packages

No packages published