Everything *[NYC] 2026: see what we announced. →
Skip to content

Bounding box definition

A bounding box is the smallest axis-aligned rectangle that fully contains an object in an image, used to record where that object is. It is the standard output of object detection and of vision models asked to locate something, expressed as pixel coordinates, as x, y, width, and height, or as fractions of the image's width and height.


A diagram explaining Bounding box in terms of related concepts.

How is a bounding box encoded?

How is bounding box accuracy measured?

Can a model return a bounding box as a typed answer?

What happens if the object is not in the image?

How does a bounding box relate to image crops and hotspots?

Explore Sanity Today

Understanding bounding box is just the beginning. Take the next step and discover how Sanity can enhance your content management and delivery.

Last updated: