Python图片验证码的识别

import ddddocr

ocr = ddddocr.DdddOcr()
with open('Python/Project2/captcha2.jpg', 'rb') as f:
    img_bites = f.read()
    ocr.classification(img_bites)
    print(ocr.classification(img_bites))

你可能感兴趣的:(Python,python,开发语言)