#704·EasyOCR

easyocr terminates without any error but don't output anything

Author: pengxiao-songCreated Apr 10, 2022Updated Jul 30, 2026
python
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.

image

I am so confused, so could anyone help me? Thank you!