Skip to content

BoundingBox

Source code in docs_src/capo_comprehend/types/bounding_box.py
class BoundingBox(TypedDict, closed=True):
    height: NotRequired["capo_comprehend.types.float.Float"]
    """<p>The height of the bounding box as a ratio of the overall document page height.</p>"""
    left: NotRequired["capo_comprehend.types.float.Float"]
    """<p>The left coordinate of the bounding box as a ratio of overall document page width.</p>"""
    top: NotRequired["capo_comprehend.types.float.Float"]
    """<p>The top coordinate of the bounding box as a ratio of overall document page height.</p>"""
    width: NotRequired["capo_comprehend.types.float.Float"]
    """<p>The width of the bounding box as a ratio of the overall document page width.</p>"""

height instance-attribute

height: NotRequired[Float]

The height of the bounding box as a ratio of the overall document page height.

left instance-attribute

left: NotRequired[Float]

The left coordinate of the bounding box as a ratio of overall document page width.

top instance-attribute

top: NotRequired[Float]

The top coordinate of the bounding box as a ratio of overall document page height.

width instance-attribute

width: NotRequired[Float]

The width of the bounding box as a ratio of the overall document page width.