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
1条答案
按热度按时间5anewei61#
我也遇到了同样的问题,如果有解决方案的话,请帮我提供一下,谢谢。