EasyOCR icon indicating copy to clipboard operation
EasyOCR copied to clipboard

How do I load the directory where the model is stored

Open yumianhuli1 opened this issue 1 year ago • 2 comments

How do I use reader = easyocr.Reader(['ch_sim'], gpu=True) and load the local specified directory where the recognition network model is stored ,thank you!

yumianhuli1 avatar Jan 06 '24 06:01 yumianhuli1

Hello yumianhhuli You can check in https://github.com/JaidedAI/EasyOCR/blob/master/custom_model.md Once your model is trained keep in ~/.EasyOCR/model You can use as reader = easyocr.Reader(['ch_sim'], recog_network=your_model_name ,gpu=True) In my case root is my default folder so my path will be as /root/.EasyOCR/model/MyModelName

vamshi-1611 avatar Jan 23 '24 06:01 vamshi-1611