EasyOCR: Ready-to-use OCR with 40 languages
11–20 of 73 posts
Re: EasyOCR: Ready-to-use OCR with 40 languages
#12Re: EasyOCR: Ready-to-use OCR with 40 languages
#13Notice the faded text from the printer running out of ink and the slanted text. From limited experience each of these are thorny problems and the state of the art CV algorithms won't help you escape from having to learn how to algorithmicly pre-process images and clean them up prior to feeding them into a CV algorithm. You might be able to use Google's Cloud OCR but that charges per image, although it is pretty good. Even if you use that you've graduated to the next super difficult problem which is Natural Language Processing.
Once you have the text you need to determine if it has meaning to your application. That's basically what NLP is about. For the receipts example, how do you know you're looking at a receipt? What if its a receipt on top of a pile of other receipts? How do you extract transactions from the receipt? Does a transaction span multiple lines? How can you tell? etc etc etc.
Re: EasyOCR: Ready-to-use OCR with 40 languages
#14Re: EasyOCR: Ready-to-use OCR with 40 languages
#15Has anyone tried it? How good is it?
However, it looks like my simple example of an old "S note" export (like a lowish resolution phone screenshot) confused it a bit:
Reglementation -> Reglemantation
km -> kn
illimitée -> illiritée
limite -> liite
baptême -> bapteme
etc.
Overall, it works, and it is quite easy to install and use. I'd have to compare it with tesseract, but I think it's a bit better. A lot slower, though (I only have AMD devices, no CUDA). It's underusing my CPU, and maybe leaking memory a bit, though I didn't clean up.Take that with a grain of salt, that was a quick try, I haven't tried to tune anything.
Re: EasyOCR: Ready-to-use OCR with 40 languages
#16From what I can tell (without having read the research papers) it looks like this is just an easy to use package for sparse scene text extraction. It seems to do okay if the scene has sparse text but it falls down for dense text detection. The results are going to be pretty bad if you try and do a task like "extract transactions from a picture of a receipt." Here's an example of input you might get for a production a…
Re: EasyOCR: Ready-to-use OCR with 40 languages
#17Re: EasyOCR: Ready-to-use OCR with 40 languages
#18What would be the advantage compared to something like Tesseract ?
Tesseract isn't very accurate, especially with text in photos. It works OK for scanned documents, but that's about it.
This does involve creating your own labeled data.
I got this 99% accuracy by performing incremental training using latest Manheim model as a base. I added about 20k lines which is not really that much. https://github.com/tesseract-ocr/tesseract/wiki
The hard part was crowd sourcing those 20k lines :)
Tesseract might not be best for photos as you said but I did not have major problems.
Of course some documents the source is so bad that a human can't achieve 99%.
Tesseract used to be quite average before they moved onto LTSM models a few years ago.
Re: EasyOCR: Ready-to-use OCR with 40 languages
#19Looking at the Chinese example, it’s kinda funny it managed to output Traditional Chinese characters when the image contains Simplified Chinese; the SC and TC versions look pretty different (园 vs 園, 东 vs 東).
Re: EasyOCR: Ready-to-use OCR with 40 languages
#20From what I can tell (without having read the research papers) it looks like this is just an easy to use package for sparse scene text extraction. It seems to do okay if the scene has sparse text but it falls down for dense text detection. The results are going to be pretty bad if you try and do a task like "extract transactions from a picture of a receipt." Here's an example of input you might get for a production a…
So your point is that this library is not a magic unicorn that solves all problems related to OCR and natural language processing?