pytesser是一个用于图片文本识别的Python模块,即从文本的截图中还原出文本信息

示例代码:

>>> from pytesser import *
>>> image = Image.open('fnord.tif')  # Open image object using PIL
>>> print image_to_string(image)     # Run Tesseract.exe on image
fnord
>>> print image_file_to_string('fnord.tif')
fnord

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务