Skip to content

Geometry

Source code in docs_src/capo_comprehend/types/geometry.py
class Geometry(TypedDict, closed=True):
    bounding_box: NotRequired["capo_comprehend.types.bounding_box.BoundingBox"]
    """<p>An axis-aligned coarse representation of the location of the recognized item on the document page.</p>"""
    polygon: NotRequired["capo_comprehend.types.polygon.Polygon"]
    """<p>Within the bounding box, a fine-grained polygon around the recognized item.</p>"""

bounding_box instance-attribute

bounding_box: NotRequired[BoundingBox]

An axis-aligned coarse representation of the location of the recognized item on the document page.

polygon instance-attribute

polygon: NotRequired[Polygon]

Within the bounding box, a fine-grained polygon around the recognized item.