JaidedAI / EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.

Home Page:https://www.jaided.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Easyocr terminates without any error and the readtext function doesn't work.

ArqamNisar opened this issue · comments

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