beginner question : legacy compoent not present but traineddata is here

65 views
Skip to first unread message

echidne

unread,
May 27, 2023, 1:08:09 PM5/27/23
to tesseract-ocr
Hi,
I'm strating to play with tesseract.
I've installed it on Windows 10 but I'm encoutering some bug when I want to try -oem 2. When I try I have an error saying that component are not present but the traineddata are in fact in place. How I can fix that? 
Thanks for your help
. I provide a screen shot of what i did.
error tesseract.png

Zdenko Podobny

unread,
May 28, 2023, 10:17:18 AM5/28/23
to tesser...@googlegroups.com
Hi,

do not post screenshot: copy&page console text to forum/email.

You did not write how you installed tesseract, but I guess you installed fast traineddata (best and fast are without legacy data). 
If you want to use the legacy engine, you have to download traineddata  (and copy to the appropriate location) 


Zdenko


so 27. 5. 2023 o 19:08 echidne <koal...@gmail.com> napísal(a):
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/4e709177-c48a-4309-ae43-2a264ce3a976n%40googlegroups.com.

echidne

unread,
May 29, 2023, 9:53:00 AM5/29/23
to tesseract-ocr
Hi,
thank you very much it was the problem. If i replaced the fra.traineddata by the one from the github account that fixed the bug. But that means too that the 2 traineddata can't be kept and you have to choose one or is it a way to have legacy traineddata in another directory and to force Tesseract to use that directory in place of "tessdata"?
Thank you again for your help?

Zdenko Podobny

unread,
May 29, 2023, 2:00:25 PM5/29/23
to tesser...@googlegroups.com
run:
tesseract --help-extra

read it and think about how to use some options for solving your problem ;-)

Zdenko


po 29. 5. 2023 o 15:53 echidne <koal...@gmail.com> napísal(a):
Reply all
Reply to author
Forward
0 new messages