Closed rambalachandran closed 3 years ago
how to use this fine tuned model to predict on new images
Just copy or move it to your tessdata directory (that's where the already installed models like eng.traineddata
are located). Then try tesseract --list-langs
to see whether the new model is listed.
The
README
provides steps on how to train the model. For example, I have certain images and corresponding text that I used to finetune over the english protomodel. The training files were located indata/eng_mod1-grround-truth
and the original english training data was placed indata/eng/eng.traineddata
. Then I ran the following commandThe model is now trained and I see new folder
data/end_mod1
that also containseng_mod1.traineddata
.Is it the correct way to finetune english model? If so, how to use this fine tuned model to predict on new images?