I'm using this snippet to crop an input image into textlines:

Boxa* boxes = api->GetComponentImages(tesseract::RIL_TEXTLINE, true, false,
0, NULL, NULL, NULL);
for (int i = 0; i < boxes->n; i++) {
    BOX* box = boxaGetBox(boxes, i, L_CLONE);
    PIX* pixd= pixClipRectangle(image, box, NULL);
//etc

Is there another function I can use to have the detected textlines overlaid
on the original image? Or even better make an exact crop (mask) of the
image instead of getting the rectangle?

-- 
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/CAOJPiNC%3D7M_%2BuQU8KwtMXe737nTVLZLKPLHeAAKLOLAuLnJcjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to