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);
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?