Information about the location of items on a document page.

For additional information, see Geometry in the Amazon Textract API reference.

interface Geometry {
    BoundingBox?: BoundingBox;
    Polygon?: Point[];
}

Properties

BoundingBox?: BoundingBox

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

Polygon?: Point[]

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