I'm trying to detect text in the picture
using code:
MatOfByte mob=new MatOfByte();
Imgcodecs.imencode(".png", src, mob);
byte bb[]=mob.toArray();
BufferedImage bi=ImageIO.read(new ByteArrayInputStream(bb));
String text = tesseract.doOCR(bi);
But Tesseract find 6,52.
It seems a clean image and I don't understand how ocr
can fail.
I'm using eng
language:
tesseract.setLanguage("eng");
opencv ver 4.51
tess4j-3.4.8
What's wrong in the image?