Questions about training korean language in tesseract 4.0

119 views
Skip to first unread message

nampyo hong

unread,
Jul 19, 2018, 2:29:55 AM7/19/18
to tesseract-ocr
Hello, 

I have two questions about training tesseract 4.0

1.
In case of English, I can find box file and how to training
such as
T 112 4663 140 4696 0
e 140 4662 160 4686 0
s 163 4662 179 4686 0
s 182 4661 198 4686 0
e 200 4661 220 4685 0
r 221 4662 238 4685 0
a 239 4661 260 4685 0
c 261 4661 281 4685 0
t 281 4661 296 4691 0

but, Korean, I cannot find training example, and I'm confused that
labelling by consonant and vowel or labelling by "one" letter

1) 가 10 20 30 40 0

2) ㄱ 10 20 30 40 0
    ㅏ 10 20 30 40 0

Which is the right way?

2. Is there a way to find types of font already trained  from .traindata file?

Soumik Ranjan Dasgupta

unread,
Jul 19, 2018, 2:36:18 AM7/19/18
to tesser...@googlegroups.com
2) For checking the fonts used in generating the traineddata for your language, you can see training/language-specific.sh and langdata/font_properties under your respective language code.

If I'm not wrong, the language code for korean is "kor".

Check out langdata/kor directory.

--
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/442b6ab3-45f0-4d73-910a-380f0fbea34f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shree Devi Kumar

unread,
Jul 19, 2018, 4:24:38 AM7/19/18
to tesser...@googlegroups.com
Using tesstrain.sh with korean training text. You can see the format of generated box files through that.




For more options, visit https://groups.google.com/d/optout.


--

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
Reply all
Reply to author
Forward
0 new messages