date: 2016-12-16 10:48:50
可處理簡單的數(shù)字驗證碼。
例如:
import pytesseract
from PIL import Image
image = Image.open('vcode.gif')
vcode = pytesseract.image_to_string(image)
print(vcode)
結(jié)果:
對于復雜的字母等不可識別。
date: 2016-12-16 10:48:50
可處理簡單的數(shù)字驗證碼。
例如:
import pytesseract
from PIL import Image
image = Image.open('vcode.gif')
vcode = pytesseract.image_to_string(image)
print(vcode)
結(jié)果: