摘要:
from PIL import Imageimg = Image.open("D:\\pic2\\CZA3302.png")(w,h) = img.sizeim=img.convert("RGB")for i in xrange(w): for j in xrange(h): pos=(i,j) r 阅读全文
摘要:
要修改pytesser.py文件,tesseract_exe_name为绝对路径: tesseract_exe_name = 'D:\\Python27\\Lib\\site-packages\\pytesser_v0.0.1\\tesseract' # Name of executable to 阅读全文