1. 首页
  2. 数据库
  3. 其它
  4. python实现图像识别功能

python实现图像识别功能

上传者: 2021-01-04 03:03:21上传 PDF文件 37.63KB 热度 52次
本文实例为大家分享了python实现图像识别的具体代码,供大家参考,具体内容如下 #! /usr/bin/env python from PIL import Image import pytesseract \nurl='img/denggao.jpeg' image=Image.open(url) #image=image.convert('RGB') # RGB image=image.convert('L') # 灰度 image.load() text=pytesseract.image_to_string(image) print text #image.show() r'
下载地址
用户评论