Ha esetleg Python is játszik: import sys import cv2 import pytesseract as pt ''' Do OCR on the file and print the text to stdout. ''' def do_work(filname): img = cv2.imread(filname) text = pt.image_to_string(img) print text