I also encountered the same issue with release 5.2 On Monday, August 15, 2022 at 1:55:49 AM UTC+8 louisd...@gmail.com wrote:
> 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. > -- This email and any attachment(s) it may contain is confidential and is intended solely for the use of the individual(s) to whom it is addressed. If you are not the intended recipient of this email, you must not take action based on the contents, nor distribute, nor expose any part of the content(s) to entities or person(s) beyond the original distribution list. Please contact the sender and delete the email if you have received it in error. Thank you. -- 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/ec009a55-810d-4de0-886d-a6d50fa6c22en%40googlegroups.com.