Optical character recognition for node.js
npm install ocr
ocr
.language('arabic', 'french')
.recognize(path_to_image, function(err, text){
if ( err ) {
console.error(err);
} else {
console.log(text);
}
});
Define a custom font-face of a certain language to improve the accuracy.
ocr
.language('chinese')
.fontFace(path_to_font_file)
.recognize(path_to_image, callback)