easyocr使用
1.安装
pip install easyocr
2.运行
第一次运行会安装需要词库
import easyocr
reader = easyocr.Reader(['ch_sim', 'en'])
result = reader.readtext('test2.png')
print(result)
优点识别率高,但是需要高的硬件支持,我的低端机g3250t直接不支持
CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU.
[W NNPACK.cpp:79] Could not initialize NNPACK! Reason: Unsupported hardware.
Segmentation fault (core dumped)
本文作者: 永生
本文链接: https://www.yys.zone/detail/?id=245
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明出处!
评论列表 (0 条评论)