Crop images properly (without borders) and follow suggestions in docs: >tesseract pic2_cropped_postprocessed.png - --psm 10 5 >tesseract pic4_cropped_postprocessed.png - --psm 10 7
Zdenko po 27. 11. 2023 o 9:42 Fernando Benayas de los Santos < [email protected]> napĂsal(a): > Hi guys/gals! > Long story short: I'm trying to use tesseract to extract a single digit > from a small image (containing a single digit) but I can't get over ~50% > accuracy. > > I have attached some examples of images. It should be pretty easy to > extract the digit. > > So far, the best approach consists in using --psm 13 and zoom a bit to get > the frame out. Tried to change the image to black/white, but it didn't > solve much :( > > Any ideas? (I'm playing around with obscure -c options but they don't seem > to have any effect) > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/5784d031-b282-4a99-b5e0-3b313a121488n%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/5784d031-b282-4a99-b5e0-3b313a121488n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yP%2Be-ZE1R5uNJH%3DxiNnzfKOBAJ_tVuSX4ZduAp-_dK1g%40mail.gmail.com.

