Re: [tesseract-ocr] How to recognize single hyphen in psm=6

2024-10-06 Thread 'Ankhbayar Gansukh' via tesseract-ocr
Hi Zdenop, thank you for your reply. The input images are dynamic, can be multiline or singleline. I attached only image which i have problem. Yes psm 7 the example image works fine somehow. In multiline context (psm 6) it recognizes hyphens fine when it together with other characters, but does

Re: [tesseract-ocr] How to recognize single hyphen in psm=6

2024-10-05 Thread Zdenko Podobny
I’m having trouble understanding the issue you're encountering—you mentioned that your input could be multiline, but the example you provided only contains a single character. I’m also surprised that even *psm 7* works in this case. The problem is that a hyphen, when presented as a single charac

[tesseract-ocr] How to recognize single hyphen in psm=6

2024-10-04 Thread 'Ankhbayar Gansukh' via tesseract-ocr
Hello, I am new to tesseract and would be very appreciate if someone help me. Tesseract5 recognizes succesfully single hyphen in psm=7. Example: tesseract --psm 7 single_hyphen_char.jpg stdout When use psm=6 it does not recognize single hyphen. Example: tesseract --psm 6 single_hyphen_char.jpg