| * word -> #w o r d |
| * multi word line -> #m u l t i w o r d l i n e |
After training with this format ^, the network put each character in separate word. The right description for WordStr format should be: * word -> #word * multi word line -> #multi word line When used this format ^, I got desired results. Also I have a guess why the above format is actually right. See this discussion: https://github.com/tesseract-ocr/tesseract/issues/1276 Example of right WordStr format is in the attached files. |
--
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/131a5055-8a69-48ce-bed0-89a79dd75d3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I tested it for russian language.
--
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/524c606d-1653-475a-9191-cbc9272fcd4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
https://github.com/tesseract-ocr/tesseract/pull/2231 implements the Wordstr box file option.
for i in $(seq -f "%03g" 1 15) ; do
tesseract /path/to/myimages/p$i.png \
/path/to/myimages/p$i -l eng --psm 6 wordstrbox
done