Customized model for Thai language #14471
Replies: 5 comments 1 reply
-
To use your trained Thai language model in PaddleOCR, even though Thai is not officially supported yet, you can follow these steps: 1. Update the YAML Configuration
2. Ensure Thai Dataset Preprocessing
3. Inference with a Custom Model
4. Update the Dictionary for Thai
5. Debugging IssuesIf your model isn't working as expected or PaddleOCR defaults to a different language (like English), check the following:
6. Multilingual SupportIf you want PaddleOCR to support both Thai and other languages, you can create a combined multilingual character list that includes characters from all desired languages. Adjust the Reference: There’s a related discussion here about fine-tuning a model for Indonesian. While it focuses on Indonesian, the process for Thai is similar:
By following these steps, you should be able to use your trained Thai language model in PaddleOCR. If you encounter specific errors, sharing the error messages can help diagnose the problem further. Response generated by feifei-bot | chatgpt-4o-latest |
Beta Was this translation helpful? Give feedback.
-
please see, I can get this result from own trained model |
Beta Was this translation helpful? Give feedback.
-
You can see this document:https://paddlepaddle.github.io/PaddleOCR/latest/en/ppocr/infer_deploy/python_infer.html#text-detection-model-inference |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I made Thai lang model. but paddleocr don't support the Thai lang yet. how can I use directly the trained thai model? please help me
Beta Was this translation helpful? Give feedback.
All reactions