Output
Bounding box
The bounding box is a rectangle that bounds an item on the document. It is used for both segments and ocr results.
Bounding Box Model
The BoundingBox
model represents the bounding box and can be used to for highlights and annotations, as well as for VLM input as images.
Relative bounding box for OCR results
The bounding boxes for the OCR results are relative to the segment, so you might need to convert them to the document coordinate system before using them.
Click here to learn more about the OCR results.