Hi Andrew, your thought is exactly what I would do: replace RGB (201, 201, 201) with RGB (255, 255, 255) and then process the image with text on white ground. : )
Ale Il giorno domenica 11 dicembre 2022 alle 08:48:40 UTC+1 Andrew ha scritto: > I have processed imaged that seems pretty simple: > > 1) The image is gray scale > 2) The image is 300 dpi > 3) The font is Arial 20 pt (72 dpi) > > The image can be found here: https://i.imgur.com/8fXlqZY.png > > Tesseract (via tesseract.js) is unable to OCR this image. I have read the > https://github.com/tesseract-ocr/tessdoc/blob/main/ImproveQuality.md doc > (hence the grayscale and dpi changes). I have also tried PSM 7. > > For fun, if I can remove the gray box it will OCR just fine, but this is a > little problematic for me algorithmically. > > Any suggestions on how to get this to work? > -- 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-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/c675c6f1-24bb-462c-b9f8-c3c72cc93912n%40googlegroups.com.