After fine tunning training, how do i run on the new model?

33 views
Skip to first unread message

thiyam...@gmail.com

unread,
May 4, 2019, 2:56:35 AM5/4/19
to tesseract-ocr
 I perform fine tuning training by adding some extra data on the existing model of ben.traindata, i named the "ds_10k.traindata", now how do i perform the OCR task on this model ? In default, using the ben.traindata, i just follow the command provided by tesseract, but now i wanna know do i need any special command to run on this new model. 

Shree Devi Kumar

unread,
May 4, 2019, 5:14:26 AM5/4/19
to tesser...@googlegroups.com
Depends on where you keep the new traineddata file.

If you copy it to the path specified by your TESSDATA_PREFIX you can use it with `-l ds_10k`.

If it is in a different location, you will need to specify that,

 `-l ds_10k --tessdata-dir /prefix/path/to/your/file/`.  

On Sat, May 4, 2019 at 12:26 PM <thiyam...@gmail.com> wrote:
 I perform fine tuning training by adding some extra data on the existing model of ben.traindata, i named the "ds_10k.traindata", now how do i perform the OCR task on this model ? In default, using the ben.traindata, i just follow the command provided by tesseract, but now i wanna know do i need any special command to run on this new model. 

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/b16219d6-2b37-463b-8b42-7954445c3445%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

Jennil Thiyam

unread,
May 4, 2019, 5:38:53 AM5/4/19
to tesser...@googlegroups.com
I am new in tessseract and ubuntu, plz forgive me if if my question does not make sense. will it work if I put this new model inside the folder of Tessdata that is situated in the program files folder?

Shree Devi Kumar

unread,
May 4, 2019, 11:58:32 AM5/4/19
to tesser...@googlegroups.com
If you are using on Windows,you can put in subfolder under program files, where the other traineddata files are.

You can check using

Tesseract --list-langs

Reply all
Reply to author
Forward
0 new messages