Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Maiores detalhes como instalação em https://www.youtube.com/watch?v=HHHkh9IOqhI
- import pytesseract as pyt
- import cv2
- img = cv2.imread("text_img.png")
- pyt.pytesseract.tesseract_cmd = "C:\\Program Files\\Tesseract-OCR\\tesseract.exe"
- text = pyt.image_to_string(img)
- print(text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement