import easyocr
reader = easyocr.Reader(['ch_sim','en'])
result = reader.readtext('chinese.jpg')
经查询,Pillow版本为10.0.0,
先pip uninstall Pillow,然后重新安装pip install Pillow==9.5.0。
上面的问题得以解决。
import easyocr
reader = easyocr.Reader(['ch_sim','en'])
result = reader.readtext('chinese.jpg')
经查询,Pillow版本为10.0.0,
先pip uninstall Pillow,然后重新安装pip install Pillow==9.5.0。
上面的问题得以解决。