RapidAI / RapidOCR

📄 Awesome OCR multiple programing languages toolkits based on ONNXRuntime, OpenVINO and PaddlePaddle.
https://rapidai.github.io/RapidOCRDocs
Apache License 2.0
3.13k stars 370 forks source link

change read_yaml order #251

Closed Pumpkinor closed 2 weeks ago

Pumpkinor commented 3 weeks ago

fisrt check the input args if the param named 'config_path' exists, use 'config_path' first. if it is not exists, use the default one named 'DEFAULT_CFG_PATH'