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
23.61k stars 3.1k forks source link

Does easyocr support recognizing images with both Chinese, English, and Thai text at the same time? #1057

Open malfurionpd opened 1 year ago

malfurionpd commented 1 year ago

I wrote some code as follows, but I got an error.

reader = easyocr.Reader([ 'ch_sim', 'en', 'th'])

Thai is only compatible with English, try lang_list=["th","en"] File "D:\MyData\xxx\Miniconda3\envs\py310\Lib\site-packages\easyocr\easyocr.py", line 286, in setModelLanguage raise ValueError(language.capitalize() + ' is only compatible with English, try lang_list=' + list_lang_string) File "D:\MyData\xxx\Miniconda3\envs\py310\Lib\site-packages\easyocr\easyocr.py", line 116, in init self.setModelLanguage('thai', lang_list, ['th','en'], '["th","en"]')

I would like some advice, thanks

StaronDsilva commented 1 year ago

I'm also facing the same problem, could you please provide me the solution if found any? Thanks.