what is this?
Get surname, sex and date of birth as json from voter id card image.
Installation
npm i qocr --save
Usage
let qocr=require('qocr');
qocr.extractTextFromImage(imageUrl). then(output=>{ console.log(output) }).catch(err=>{ console.log(err); });
Params
qocr supports a parameter
- imageUrl --http url or path to the image. eg http://example.image.com/filename.jpg(supports jpg and png only).