【发布时间】:2019-02-25 01:09:09
【问题描述】:
【问题讨论】:
-
欢迎来到 StackOverflow。请按照您创建此帐户时的建议阅读并遵循帮助文档中的发布指南。 On topic、how to ask 和 ... the perfect question 在此处申请。 StackOverflow 不是设计、编码、研究或教程资源。
标签: python opencv image-processing ocr captcha
【问题讨论】:
标签: python opencv image-processing ocr captcha
您可以使用 Pytesser 或 Tesseract 作为 OCR。尝试谷歌“OCR - Python”,你会发现很多 Python - OCR 库或程序可以实现你想要的。
这是一个使用 pytesser 的示例:
from PIL import Image
from pytesser import *
temp_img = Image.open('your_image.jpg')
your_digit = image_to_string(temp_img)
print your_digit
【讨论】: