@tessdata/kan
v1.0.0
Published
<lang> tessdata for consumption via npm
Downloads
7
Readme
kan tessdata
@tessdata/kan
Installation
npm install @tessdata/kan
Usage
const sander = require('@marionebl/sander');
const Tesseract = require('tesseract.js');
const {langPath} = require('@tessdata/kan');
const image = sander.readFile('some-image.png');
const tesseract = Tesseract.create({langPath});
tesseract.recognize(buffer, {
lang: 'kan'
});