图片识别

#文字识别
pip install pytesseract
#图片处理
pip install pillow

创建一个新项目: 
test_pytesseract:模块 pytesseract 的基本使用测试
test_pillow:模块 Pillow 的基本使用测试
case_verification:实战案例,破解网站图片验证码验证

python 图片库 : --》 image类
通过从文件加载图像,处理其他图像或从头开始创建图像。
http://p0.meituan.net/dpmerchantpic/645b8bf94a00f7d6b509c5d8aab7f14d644788.jpg
    
 #查看所能识别的字体
tesseract --list-langs

#对图片识别
tesseract c.png c -l chi_sim  #就会将 c.png 识别到的图片信息保存到 c.txt 中
posted @ 2019-11-06 09:56  black__star  阅读(134)  评论(0编辑  收藏  举报