ddddocr 使用

python ddddocr使用

https://github.com/sml2h3/ddddocr

# example.py
import ddddocr

ocr = ddddocr.DdddOcr()

image = open("example.jpg", "rb").read()
result = ocr.classification(image)
print(result)
posted @ 2025-02-27 16:58  灵火  阅读(95)  评论(0)    收藏  举报