easyocr是否支持同时识别包含中文、英文和泰文的图像?

0pizxfdo  于 3个月前  发布在  其他
关注(0)|答案(1)|浏览(93)

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

5anewei6

5anewei61#

我也遇到了同样的问题,如果有解决方案的话,请帮我提供一下,谢谢。

相关问题