I'm using pytesseract with tesseract 5.2.0.20220712 to try to read a float 
number from an image.
Here is the image I'm trying to read :
[image: help.png]
When using tesseract with the config "'--psm 7 --user-patterns 
"D:\PyCharmProjects\SpiralBattle\patterns.txt"'", it returns "4.43003" 
instead of the expected "4.43e03"
My patterns.txt file is the following : 
\d.\d\de\d\d

The pattern worked two or three times with similar images but now it 
doesn't work anymore for some reason.

Does anyone know why it broke ?

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-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/6400687f-561d-42fd-9820-e2aecab153b8n%40googlegroups.com.

Reply via email to