Can i recognition only numbers ? #15504
-
Hi, in my case I need to recognize only numbers, but it is quite difficult to recognize bcause they are handwritten and sometimes other characters are recognized instead of numbers. Is it possible to define a dictionary of recognized characters? |
Beta Was this translation helpful? Give feedback.
Answered by
liuhongen1234567
May 30, 2025
Replies: 1 comment
-
Hello, you can create a dictionary that contains only numbers, and then set the character_dict_path to your custom dictionary. Then, by fine-tuning on your dataset, you can configure the model to recognize only numbers. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
KhankhaevAndrey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, you can create a dictionary that contains only numbers, and then set the character_dict_path
PaddleOCR/configs/rec/PP-OCRv4/en_PP-OCRv4_mobile_rec.yml
Line 19 in fd5b4e1