cocoa-xu / evision

Evision: An OpenCV-Erlang/Elixir binding
https://evision.app
Apache License 2.0
323 stars 22 forks source link

Text recognition failing in the latest versions #185

Closed Wigny closed 1 year ago

Wigny commented 1 year ago

In the latest versions of the library, basically it is able to detect text but not to recognize it.

When running the v0.1.25:

But when running the v0.1.29:

Has any configuration changed since the v0.1.25 I'm not aware of?

failing_text_recognition.livemd working_text_recognition.livemd sample.jpg

Wigny commented 1 year ago

If you found problems running the working example (v0.1.25) because of https://github.com/cocoa-xu/evision/issues/179, please, download the charset before testing:

wget https://raw.githubusercontent.com/opencv/opencv_zoo/933a4171e3dfa2f67b4078602c76f91ac6a5299a/models/text_recognition_crnn/charset_3944_CN.txt -O ~/.cache/text_recognition_CRNN_CN_2021nov_charset_3944_CN.txt
cocoa-xu commented 1 year ago

v0.1.30 is out.

Wigny commented 1 year ago

Hey, thank you for the time and effort you spend on this amazing library! 💜

cocoa-xu commented 1 year ago

Thank you for reporting this issue! I plan to write some tests for these smart cells in the next version so that I can notice if anything is broken before shipping it out. ;)