I have successfully trained Tesseract 4.0 using boxes that cover an entire line. I was similarly confused by the mismatch between the docs and that example. I haven't tested training with character-bounding boxes but I can confirm that textline boxes works fine.
On Fri, Jan 25, 2019 at 5:56 AM Jul ius <jwigot...@gmail.com> wrote: > Hi, > > I'm interested in training tesseract 4 with real data. As the > documentation seems very poor and only captures training with font files, I > have a general question. > > On: https://github.com/tesseract-ocr/tesseract/wiki/Making-Box-Files---4.0 > > It says that the boxes need to cover the whole line in tesseract 4. > > When looking inside the linked box file I can clearly see that every box > covers a single character. > > Can anyone verify which layout for the boxes is right? > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to tesseract-ocr@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/1ab1e0b0-a70a-456b-ab58-2f240a3b479f%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/1ab1e0b0-a70a-456b-ab58-2f240a3b479f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tesseract-ocr@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/CABtjQ9LAR_HErrJx5XepNJ3kZAfxYsd-09g-30opSmJvNRUg7A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.