it doesnt wants to extract the text from the image, like the terminal stays black with a space like if it was actually trying to extract the text, here is my code and the image
from PIL import Image
import pytesseract
import cv2
“C:UsersEmilianoDownloadspractic.png”
pytesseract.pytesseract.tesseract_cmd=”C:Program FilesTesseract-OCRtesseract.exe”
img=cv2.imread(‘C:UsersEmilianoDownloadspractic.png’)
cv2.imshow(‘window’, img)
cv2.waitKey(0)
cv2.destroyAllWindows()
text=pytesseract.image_to_string(img)
print(text)
didnt noticed this xd
Spidercoder is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.