--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/2ad98d39-857f-4455-a5fa-20c7d326c3c5%40googlegroups.com.
And we r trying only kuwait civil id card and its ocr accuracy in non mrz page(front page ) is less.
Check Nationality,dob n expiry date
<<Civil FRONT OCR Result :- >>
STATE oF KUWAIT evi no = 5%
CDN 285031504457 wat hon
Pallas La; daa ~~
Name MOHAMMAD RAHAT
ABDUL KHALIQ
ON +L yaonaity IND SA a
< b Sex " Aa so i
Burth Date 1503/1985 SA fol
EpayDate {8/0412020 LST pL
Please find the code to do ocr in tesseract
Tesseract instance = new Tesseract();
// SET THE TESSDATA PATH
instance.setDatapath(tesseractPath);
instance.setOcrEngineMode(TessOcrEngineMode.OEM_LSTM_ONLY);
instance.setLanguage("eng");
instance.setPageSegMode(TessPageSegMode.PSM_AUTO);
instance.setTessVariable("load_freq_dawg", "true");
instance.setTessVariable("load_system_dawg", "true");
instance.setTessVariable("tessedit_char_whitelist","AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz0123456789/<");
data = instance.doOCR(image);