Skip to content

BoundingBox

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

height instance-attribute

height: Float

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

left instance-attribute

left: Float

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

top instance-attribute

top: Float

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

width instance-attribute

width: Float

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