Open segalinc opened 5 months ago
From https://www.jaided.ai/easyocr/documentation/
Reader class
Base class for EasyOCR
Parameters
lang_list (list) - list of language code you want to recognize, for example ['ch_sim','en']. List of supported language code is [here](https://www.jaided.ai/easyocr/).
gpu (bool, string, default = True) - enable GPU
model_storage_directory (string, default = None) - Path to directory for model data. If not specified, models will be read from a directory as defined by the environment variable EASYOCR_MODULE_PATH (preferred), MODULE_PATH (if defined), or ~/.EasyOCR/.
download_enabled (bool, default = True) - enable download if EasyOCR is not able locate model files
user_network_directory (bool, default = None) - Path to user-defined recognition network. If not specified, models will be read from MODULE_PATH + '/user_network' (~/.EasyOCR/user_network).
recog_network (string, default = 'standard') - Instead of standard mode, you can choose your own recognition network --- Tutorial to be written about this.
detector (bool, default = True) - load detection model into memory
recognizer (bool, default = True) - load recognition model into memory
Attribute
lang_char - Show all available characters in current model
is it possible to change where the model is saved instead of ~/ I need to use something else