1.0.0 • Published 8 years ago
@tessdata/chi_sim v1.0.0
chi_sim tessdata
@tessdata/chi_sim
Installation
npm install @tessdata/chi_simUsage
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'
});1.0.0
8 years ago