Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Is EasyOCR license plate recognition dependent on the GPU only?

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])

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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)

"

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading