识别验证码 SO EASY
【腾讯云】2核2G4M云服务器新老同享99元/年,续费同价
python >= 3.8Windows/Linux/Macox..
pip install ddddocr
import ddddocrocr = ddddocr.DdddOcr()with open('1.png', 'rb') as f: img_bytes = f.read()res = ocr.classification(img_bytes)print(res)