see SetRectangle. There is example on wiki [1] how to use it. [1] https://github.com/tesseract-ocr/tesseract/wiki/APIExample#example-of-iterator-over-the-classifier-choices-for-a-single-symbol
Zdenko pi 5. 7. 2019 o 19:18 Jingjing Lin <[email protected]> napĂsal(a): > If we do the segmentation beforehand, can we send it to Tesseract and > replace the segmentation tesseract is doing? I have x, y, w and h from my > own segmentation method. I don't want to crop the image because I still > want to treat the image as a whole image and maintain the positions of the > text. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/1f136942-51e0-46d4-b507-34214d8fc574%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/1f136942-51e0-46d4-b507-34214d8fc574%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 [email protected]. To post to this group, send email to [email protected]. 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/CAJbzG8z1oXdXFFrzcEsB46Ym%3DZmg7qd3yUHn7BfgX8axeDEHqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

