Teddy13
Teddy13

Reputation: 3854

combine trained tesseract files into one

I am using the most recent version of Tesseract on my Mac. I have one eng.traineddata in one folder and one eng.traineddata in another folder. I wish to combined my traineddata files into one big trained font file.

Can anyone tell me how to do this? I have read somewhere that the -l command may be what I need.

Thanks!

Upvotes: 2

Views: 6669

Answers (2)

Suraj Patil
Suraj Patil

Reputation: 149

i also tried for that but it seems possible only if we are creating traineddata file by compiling multiple images at the same time . here is detailed procedure ....

"https://printalert.wordpress.com/2014/10/28/tesseract-training-more-fonts/"

Upvotes: 1

nguyenq
nguyenq

Reputation: 8345

Tesseract does not look for language data at two different folders. What you can do is rename one of them, e.g., to eng1.traineddata, and then specify them as -l eng+eng1 option to the tesseract command.

Upvotes: 4

Related Questions