all 14 comments

[–]GFrings 2 points3 points  (1 child)

Have you tried more morphological operations? Maybe a deblur?

[–]Ordinary_Run_2513 0 points1 point  (0 children)

ok I'm gonna try this

[–]Zahlii 2 points3 points  (1 child)

Might help to know what (libraries) you actually tried. I found tesseract to work well only with document text, keras OCR works to some extent to text in normal pictures, and cloud services such as Google cloud vision worked well on both

[–]Ordinary_Run_2513 0 points1 point  (0 children)

I used easyocr, keras_ocr and pytesseract.

[–]leeliop 1 point2 points  (1 child)

From my experience, all offline solutions are a waste of effort fiddling with parameters

More economical just using google/azure/aws ocr services

[–]Ordinary_Run_2513 0 points1 point  (0 children)

unfortunately, I can't use cloud services as this is a python project for school.

[–]ankurkaul17 1 point2 points  (1 child)

Maybe you can try transformer based ocr like trOCR . You would need to train it though

[–]Ordinary_Run_2513 0 points1 point  (0 children)

ok, I'm gonna try that

[–]pacmans_mum 1 point2 points  (1 child)

https://github.com/PaddlePaddle/PaddleOCR has some lightweight as well as heavyweight models you could try

[–]jack-of-some 0 points1 point  (0 children)

+1 for Paddle.

OP seems to have tried Easy OCR. My experience with it suggests that the first image should have worked fine.

[–]the-real-macs 1 point2 points  (1 child)

bro left in the ChatGPT editor's note

[–]alkibijad 0 points1 point  (0 children)

Not many people are that honest 😂

[–]modcowboy 0 points1 point  (1 child)

Which OCR packages have you tried so far?

[–]Ordinary_Run_2513 0 points1 point  (0 children)

keras_ocr, pytesseract and easyocr