Skip to content
Discussion options

You must be logged in to vote

Hey,
Yes it is possible to restrict or retrain an existing model with a numbers-only character dictionary. You just have to train the model on your custom dict for your custom data, the recommended approach would be to confine your dict in the config file to the characters you want to recognize and finetune the model (PP-OCRv3 or PP-OCRv4) on your custom data.
This doc would help you - Finetune.md
Also you can get pre-trained models form Model List - This model supports both English and number recognition. Considering your case you can take a english pretrained model and then finetune on numerical digits(0-9).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Buligon
Comment options

Answer selected by Buligon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants