I am trying to recognize text from an image to then have the text outputted; however, this error spits out:
Traceback (most recent call last):
This error occurs when the image is in one format and in the python program you specify other format.
Example:
File Path= /home/user/image.jpg
but in the python program you read the image as jpeg
img = cv.imread("image.jpeg")
Then you will be facing this error