#?-*-?coding:?utf-8?-*-
#?1、pip3?install?pyocr
#?2、pip3?install?pillow?or?easy_install?Pillow
#?3、安裝tesseract-ocr:blogs.com/TTyb/p/5996847.html
#?代碼:
#?!/usr/bin/python3.4
#?-*-?coding:?utf-8?-*-
import?pytesseract
from?PIL?import?Image
image?=?Image.open('../jpg/code.png')
code?=?pytesseract.image_to_string(image)
print(code)