Is EasyOCR license plate recognition dependent on the GPU only?

Question:

i would like to know if easyocr for license plate recognition is dependant on the GPU. Im trying to use this script to read the license plate in a image and it’s EXTREMELY SLOW (10+ min). And i just found out the computer i’m using does not have a GPU.

 from PIL import Image
    import numpy as np
    import easyocr
    import ssl
    ssl._create_default_https_context = ssl._create_unverified_context
    
    IMAGE_PATH = 'test.png'
    reader = easyocr.Reader(['en'])
    result = reader.readtext(IMAGE_PATH)
    for detection in result:
        if detection[2] > 0.5:
            print(detection[1])
Asked By: Master

||

Answers:

As seen on the pypi installation page of easyocr

"In case you do not have a GPU, or your GPU has low memory, you can run the model in CPU-only mode by adding gpu=False.

reader = easyocr.Reader(['ch_sim','en'], gpu=False)

"

Answered By: Anonymous4045

EasyOCR works without GPU, but is crushingly slow.

Answered By: Colim
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.