( tzp | 2022. 09. 08., cs – 14:07 )

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