Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок1 ответ
+ 1
import cv2
import pytesseract
# This will read images
img = cv2.imread("image.png")
# This will run tesseract OCR on images
text = pytesseract.image_to_string(img)
# This will print the recognized text
print(text)