Python

Python:简单的验证码识别

2018-05-10  本文已影响0人  捉虫__羊羊

如题,获取到的验证码只有字母+数字,简单得不能再简单了,上代码:

# -*- coding: UTF-8 -*_

import pytesseract

from PIL import Image

image = Image.open('11.jpg')

vcode = pytesseract.image_to_string(image)

print(vcode)

运行结果:

上一篇 下一篇

猜你喜欢

热点阅读