代码如下 import cv2from PIL import Imagefrom pytesseract import pytesseractfrom PIL import ImageEnhanceimport reimport stringdef createFile(filePath,newFilePath): img = Image.open(filePath) # 模式L为灰色图像,它的每个像素用8个bit表示,0表
代码如下
原图: ![]() 处理过后的图: ![]() 识别结果: ![]() |
2019-06-18
2019-07-04
2021-05-23
2021-05-27
2021-05-27