Easyocr terminates without any error and the readtext function doesn't work.
ArqamNisar opened this issue · comments
Muhammad Arqam Nisar commented
While trying to read text from an image, the program terminates without any error and without any output.
Code:
import easyocr
import cv2
img = cv2.imread('abc.jpg')
reader = easyocr.Reader(['hi', 'en'], gpu=False)
results = reader.readtext(img, detail = 1, paragraph=False)
print(results)
Output:
Using CPU. Note: This module is much faster with a GPU