#!/usr/bin/env python3 import pytesseract import cv2 img_path = '…' image = cv2.imread(img_path) text = pytesseract.image_to_string(image, config = ("-l eng --oem 1 --psm 6") ) print(text)
cv2
Index