Python

Python免费的验证码识别

2021-07-14  本文已影响0人  八月欢喜

免费的验证码识别OCR项目已经打包成pypi包

  1. 可以通过以下命令安装
    pip install ddddocr==1.0.4

  2. 豆瓣源同步需要一些时间,目前建议通过官方源安装(命令后添加 -i https://pypi.org/simple)

使用方式为

import ddddocr

ocr = ddddocr.DdddOcr()

with open('test.png', 'rb') as f:
img_bytes = f.read()

res = ocr.classification(img_bytes)
print(res)

感谢哲哥,哲哥强的一匹
转载于逆向群,侵权联系删除

上一篇 下一篇

猜你喜欢

热点阅读