IF I could make .unicharset by box/tif pairs instead of fonts files by tesstrain.sh?

32 views
Skip to first unread message

王思远

unread,
Aug 28, 2018, 1:15:45 AM8/28/18
to tesseract-ocr
I see there is a new flag in the tesseract/src/training/tesstrain.sh in the change on 2018/8/20.
So how can i use this new flag? Is there a demo that i can refer to?


Shree Devi Kumar

unread,
Aug 28, 2018, 1:49:40 AM8/28/18
to tesser...@googlegroups.com
When using tesstrain.sh, you can add --save_box_tiff to the command line.

Original tesstrain.sh did not move box/tiff alongwith lstmf files (they remained in /tmp directory).

I had modified it first to move box/tiff in all cases along with lstmf files.

This option now gives the user the choice whether to save the box/tiff pairs or not. Default is NOT to save them, since they are not needed for training and are useful just for reference/review.

--
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-ocr+unsubscribe@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/b71db956-9137-4a16-84af-7f4462ac53e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

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

WangSiyuan

unread,
Aug 28, 2018, 3:19:54 AM8/28/18
to tesseract-ocr

Hey shree

Thank you for reply.

I had noticed the /tmp directory,and I will try this new flag for viewing how the fonts files change into the box/tiff pairs.




在 2018年8月28日星期二 UTC+8下午1:49:40,shree写道:
When using tesstrain.sh, you can add --save_box_tiff to the command line.

Original tesstrain.sh did not move box/tiff alongwith lstmf files (they remained in /tmp directory).

I had modified it first to move box/tiff in all cases along with lstmf files.

This option now gives the user the choice whether to save the box/tiff pairs or not. Default is NOT to save them, since they are not needed for training and are useful just for reference/review.
On Tue, Aug 28, 2018 at 6:56 AM, 王思远 <wangsiy...@gmail.com> wrote:
I see there is a new flag in the tesseract/src/training/tesstrain.sh in the change on 2018/8/20.
So how can i use this new flag? Is there a demo that i can refer to?


--
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.
Reply all
Reply to author
Forward
0 new messages