1.0.0 • Published 7 years ago

@tessdata/chi_sim v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 years ago

chi_sim tessdata

@tessdata/chi_sim

Installation

npm install @tessdata/chi_sim

Usage

const sander = require('@marionebl/sander');
const Tesseract = require('tesseract.js');
const {langPath} = require('@tessdata/chi_sim');

const image = sander.readFile('some-image.png');
const tesseract = Tesseract.create({langPath});

tesseract.recognize(buffer, {
  lang: 'chi_sim'
});