
Hi All,
Above is my image. I have been using default settings for the tesseract instance. Tess4j version is 4.0.2. Last digit of above number plate is identified as 2 instead 4. Thanks in advance
--
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 post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/d4df14b8-26da-4273-aae0-da56f5bc5b40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ByteArrayInputStream bis =new ByteArrayInputStream(DatatypeConverter.parseBase64Binary(image));
ITesseract instance = new Tesseract();
instance.setDatapath("testdata");
instance.setLanguage("eng");
try
{
String imgText = instance.doOCR(ImageIO.read(bis));
return imgText;
}
catch (TesseractException e)
{
throw new ImageReaderException("Image processing filed", ImageReaderConstants.READ_ERROR_CODE, 500);
}
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xyL6p1AB8%3DV9619hX-akz%3D3-hq4eW8NZpnuyEjvJNE3g%40mail.gmail.com.