Did you try all the preprocessing steps? Rotation / Deskewing ? I think Tesseract finds it difficult to identify skewed images.
On Mon, Oct 31, 2022 at 1:17 PM nabil-ak <akirna...@gmail.com> wrote: > Hello, > > I want to detect a code (combination of characters) on an image in python. > > I already tried EasyOCR <https://github.com/JaidedAI/EasyOCR> and Tesseract > Open Source OCR Engine <https://github.com/tesseract-ocr/tesseract> but > noone could detect the characters. > > I also tried to preprocess the picture by inverting the white font to a > black font and painting the background white to make it for the engine > easier to detect the characters. > > *What am i doing wrong?* > > > -- > 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/2e764275-4992-495f-b0ac-ffe668254231n%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/2e764275-4992-495f-b0ac-ffe668254231n%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 tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAFGR8aA4zp4HCP3y22RrscUeDeDfe0782W8NKz3LUKFPSsA%3DkA%40mail.gmail.com.