TesseractNotFound - Pytesser
问题 I'm trying to do OCR using pytesser downloaded from HERE. Here is the code of pytesser.py try: import cv2.cv as cv OPENCV_AVAILABLE = True except ImportError: OPENCV_AVAILABLE = False from subprocess import Popen, PIPE import os PROG_NAME = 'tesseract' TEMP_IMAGE = 'tmp.bmp' TEMP_FILE = 'tmp' #All the PSM arguments as a variable name (avoid having to know them) PSM_OSD_ONLY = 0 PSM_SEG_AND_OSD = 1 PSM_SEG_ONLY = 2 PSM_AUTO = 3 PSM_SINGLE_COLUMN = 4 PSM_VERTICAL_ALIGN = 5 PSM_UNIFORM_BLOCK = 6