shapeclustering error bad_alloc on Tesseract 3.05

30 views
Skip to first unread message

Ганзориг Ө

unread,
Aug 16, 2021, 11:32:52 PM8/16/21
to tesseract-ocr
Teaseract 3.05.  I have 2,000 * .TR files.  I ran the following command.  
shapeclustering -f font_properties -u unicharaet lang.fontname0.exp0.tr lang.fontname1.exp0.tr….  
But when it goes to 200, it shows error std :: bad_alloc   
I have 32GB RAM.  How to solve this error?

Thanks in advance

Ганзориг Ө

unread,
Aug 17, 2021, 1:57:44 AM8/17/21
to tesseract-ocr
Im using windows

Ганзориг Ө

unread,
Aug 17, 2021, 11:28:28 AM8/17/21
to tesseract-ocr
Need to identify only 64 fonts in tesseract3?

Quan Nguyen

unread,
Aug 20, 2021, 8:24:25 PM8/20/21
to tesseract-ocr
The command line imposes a limit on the command length. You can group images of same fonts in a multi-page TIFF to cut down the number of files and then conduct training on it.
Reply all
Reply to author
Forward
0 new messages