sml2h3 / ddddocr

带带弟弟 通用验证码识别OCR pypi版
https://ddddocr.com
MIT License
9.17k stars 1.67k forks source link

使用时报错 #2

Closed Arabot9 closed 3 years ago

Arabot9 commented 3 years ago

PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x00000219E6A236D0>

sml2h3 commented 3 years ago

传入的是图片得bytes数据吗

sml2h3 commented 3 years ago

PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x00000219E6A236D0>

传入的是图片得bytes数据吗?有可能图片是损坏的

DokiDoki1103 commented 9 months ago

{ "status": 200, "result": "", "msg": "cannot identify image file <_io.BytesIO object at 0x7fcd24bced60>" }