Skip to main content
Document Form
Document form grounding example
Driver’s License
Example of a driver's license document with visual grounding
TV News Broadcast Text
TV news broadcast grounding example

Text linked to a region on each image.

Usage Example

Use the Structured Outputs API for structured, validated responses.
  • Bounding box
  • Confidence score
  • Relationship type

FAQ

  • Form fields: a label linked to an input, checkbox, or button
  • Data fields: a label linked to its value
  • Interactive elements: an instruction linked to a clickable element
  • Validation rules: validation text linked to a form field
  • Cross-references: a mention linked to a figure, table, or section
xywh is top-left x, top-left y, width w, and height h. Values are pixels relative to the document image.
  • Label-field pairs: which label belongs to which field
  • Hierarchical structure: parent-child relationships
  • Proximity: elements related by distance
  • Alignment: aligned elements and groups
The score is a value between 0 and 1. A higher score is a more reliable mapping.
Each page is analyzed separately. Results include that page’s mappings and relationships.