easyocr terminates without any error but don't output anything
Author: pengxiao-songCreated Apr 10, 2022Updated Jul 30, 2026
def main(args):
reader = easyocr.Reader(['en'], gpu=False)
message = reader.readtext('images/a.jpg', detail=0)
print(message)The output in the terminal is:
Using CPU. Note: This module is much faster with a GPU.
I am so confused, so could anyone help me? Thank you!
Source: JaidedAI/EasyOCR