摘要:
import tesserocr from PIL import Image image = Image.open('code.jpg') image = image.convert('L') threshola = 127 table = [] for i in range(256): if i < threshola: table.append(0) els... 阅读全文
摘要:
使用chrome代替PhantomJS,selennium3不支持PhantomJS,编码用“utf 8”,不然会报错。tesseract要添加TESSDATA_PREFIX环境变量 识别结果如下: n PENGUIN H“ :xA55\(5 LEO TOLSTOY War and Peace mm 阅读全文