安装方式
个人先尝试使用 Python3.10 但安装失败,提示 Pillow 版本不支持
查看 Pillow 官网后:

发现提示的 Pillow 版本是 7.0 确实不兼容 Python3.10 。但用 pip3 upgrade pillow 时又发现 pillow 版本明明是 9.0。很奇怪,暂时没找到解决方法。于是采用本办法:装低版本的 Python。
python3.8 -m pip install easyocr
于是成功安装了。
安装以后,用简单的 Python 代码久可以尝试运行
import easyocr
reader = easyocr.Reader(['ch_sim','en'], gpu = False) #识别中文和英文,不用GPU
result = reader.readtext(r"20220322175938.png", detail = 0)
print(result)
效果非常好:
对于图片:

识别结果为

效果挺好的。
但速度略微有点慢,主要原因是使用的 CPU。
如果要使用 GPU 需安装 CUDA,并将代码中的 gpu = False 改为 gpu =True