-
Hi, I am training a recgnition model, English language, version: en_PP-OCRv3_rec_slim. I also have very simple Python program that is using PaddleOCR. My question is how to "load" my new trained model into my existing program? For what I have now in loading model: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
U can set rec_model_dir as your trained model path. |
Beta Was this translation helpful? Give feedback.
U can set rec_model_dir as your trained model path.
PaddleOCR(use_angle_cls = True, use_space_char = True, lang = "en", rec_model_dir="your trained model path")
https://github.com/PaddlePaddle/PaddleOCR/blob/release%2F2.5/doc/doc_en/whl_en.md#5-parameter-description