Re: [tesseract-ocr] Tesseract OCR LCD digits doesn't work

2022-06-25 Thread Zdenko Podobny
so 25. 6. 2022 o 8:15 Hervé napísal(a): > Hi > I just tried some, without real success > > Please be specific: what did you try and what was the result? > could I learn digits from pictures ? maybe this font is not well recognized > Any training is useless if the failure is at the image prepr

Re: [tesseract-ocr] Tesseract OCR LCD digits doesn't work

2022-06-25 Thread Hervé
I tried gray image, black and white, and I use custom_psm = r'--psm 7' didn't try others parameters Le samedi 25 juin 2022 à 10:32:14 UTC+2, zdenop a écrit : > > > so 25. 6. 2022 o 8:15 Hervé napísal(a): > >> Hi >> I just tried some, without real success >> >> Please be specific: what did you

Re: [tesseract-ocr] build QT and Tesseract on Windows 10

2022-06-25 Thread Fish Money
I ve tried a lot of tutorials from web (probably tried all) I successfully installed cygwin and tesseract, but could not compile tesseract libs Then tried to install QT with MinGW https://www.life2coding.com/opencv-ocr-tutoiral-build-tesseract-ocr-library-3-02-02-with-qt-5-4-mingw-on-windows/#googl

Re: [tesseract-ocr] Tesseract OCR LCD digits doesn't work

2022-06-25 Thread Zdenko Podobny
Why you did not try more relevant hits like inverting and resizing? Zdenko so 25. 6. 2022 o 10:56 Hervé napísal(a): > I tried gray image, black and white, and I use > > custom_psm = r'--psm 7' > > didn't try others parameters > Le samedi 25 juin 2022 à 10:32:14 UTC+2, zdenop a écrit : > >> >>

Re: [tesseract-ocr] Tesseract OCR LCD digits doesn't work

2022-06-25 Thread Hervé
I am on tesseract 5 Inverting images While tesseract version 3.05 (and older) handle inverted image (dark background and light text) without problem, for 4.x version use dark text on light background. isn'it the same than : (thresh, im_bw) = cv2.threshold(gray, 128, 255, cv2.THRESH_BINARY

Re: [tesseract-ocr] Tesseract OCR LCD digits doesn't work

2022-06-25 Thread Zdenko Podobny
Sorry - I mean Rescaling: Tesseract works best on images which have a DPI of at least 300 dpi, so it may be beneficial to resize images. For more information see the FAQ. "Willus Dotkom" made interesting test for Optimal image resolution with suggestion for optimal Height of capital letter in pixe

Re: [tesseract-ocr] Tesseract OCR LCD digits doesn't work

2022-06-25 Thread Hervé
Sorry I am really noob When I do : tesseract pH_treshr.png - I have : Empty page!! Empty page!! How do you achieve to have this image ? and why can't I tesseract it like you ? I am on buster with tesseract 5.1 is there a way to discuss ? discord ? thanks for your patience and help Le samedi