JaidedAI / EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
https://www.jaided.ai
Apache License 2.0
24.42k stars 3.16k forks source link

OpenCV #976

Open Abecadarian opened 1 year ago

Abecadarian commented 1 year ago

Currently EasyOCR requires OpenCV 4.5.4.60. This is a bit of a problem for using it in conjunction with software that requires more up to date versions of OpenCV. Is there any chance of this issue being fixed in the near future?

IamAtreus commented 1 year ago

Same here. Good job, anyway...

SamuelYvon commented 1 year ago

For those reading this today, this was solved a couple of days after the issue was raised, but never closed. It's not on pypi either, but if you depend on this package simply point to the latest commit and you should not have this restriction.

I'd also recommend to the JaidedAI team to use a packaging solution like poetry to manage dependencies, so users that use easyocr as a library can chose between all the variants of opencv, not only headless.

edit

This would also be good for the choice of torch as CPU only or GPU accelerated...