摘要: import pytesseract from PIL import Image import time import cv2 image = Image.open('2.png') image = image.convert('L') #先转灰度 # image = image.convert(' 阅读全文
posted @ 2021-06-19 17:50 CrossPython 阅读(68) 评论(0) 推荐(0)
摘要: 上述程序在windows平台运行时,会发现有黑色的控制台窗口一闪而过的画面,不太友好。 略微修改了pytesseract.py(C:\Python27\Lib\site-packages\pytesseract目录下),把上述过程进行了隐藏。 # modified by zhongtang hide 阅读全文
posted @ 2021-06-19 16:15 CrossPython 阅读(202) 评论(0) 推荐(0)