Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 924 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 924 Bytes

CODE-OCR

识别微博验证码,分辨率100x40

识别知乎验证码,分辨率150x60

识别网易验证码,分辨率80x26

识别一号店验证码,分辨率124x50

识别常规英数店验证码,分辨率70x20

开放OCR.dll方法

  getOCR(mcg,img)

实例

from core import test

if __name__ == '__main__':
    ocr=test.OCR()
    img="D:/codes/DLL/wytest_2anq.bmp"
    print('result:', ocr.getOCR("wangyi",img ))
    #返回识别结果