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