ImageBoundingBoxes
✖
ImageBoundingBoxes
gives an association of lists of bounding boxes for each identified category of objects in image.
gives a list of bounding boxes for subimages identified as an instance of the specified category.
Details and Options

- ImageBoundingBoxes attempts to find instances of an object category present in an image.
- For each category, the result is given as a list of Rectangle objects.
- Coordinates are assumed to be in the standard image coordinate system.
- Possible forms for category include:
-
"concept" named concept, as used in "Concept" entities "word" English word, as used in WordData wordspec word sense specification, as used in WordData Entity[…] any appropriate entity category1category2… any of the categoryi - The following options can be given:
-
AcceptanceThreshold Automatic identification acceptance threshold MaxFeatures Automatic maximum number of subimages to return MaxOverlapFraction Automatic maximum bounding box overlap TargetDevice "CPU" the target device on which to compute - ImageBoundingBoxes uses machine learning. Its methods, training sets and biases included therein may change and yield varied results in different versions of the Wolfram Language.
- ImageBoundingBoxes may download resources that will be stored in your local object store at $LocalBase, and can be listed using LocalObjects[] and removed using ResourceRemove.

Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Scope (4)Survey of the scope of standard use cases
Data (2)
Detect all objects in an image:

https://wolfram.com/xid/0bnidorc0p7tu-go7vox

https://wolfram.com/xid/0bnidorc0p7tu-v82x5d


https://wolfram.com/xid/0bnidorc0p7tu-8sepqz

Detect instances of a specific object:

https://wolfram.com/xid/0bnidorc0p7tu-iq94en


https://wolfram.com/xid/0bnidorc0p7tu-18y51q

Detect objects in frames of video:

https://wolfram.com/xid/0bnidorc0p7tu-opf1sv

Highlight detected objects on the video frames:

https://wolfram.com/xid/0bnidorc0p7tu-lcx641

Options (4)Common values & functionality for each option
AcceptanceThreshold (1)
Objects with low probability are not returned:

https://wolfram.com/xid/0bnidorc0p7tu-dsunaa

https://wolfram.com/xid/0bnidorc0p7tu-0mxv3l

Allowing a lower probability may result in more objects being recognized:

https://wolfram.com/xid/0bnidorc0p7tu-j2w9ni


https://wolfram.com/xid/0bnidorc0p7tu-gvi4kq

MaxFeatures (1)
MaxOverlapFraction (1)
The detected bounding boxes may overlap each other:

https://wolfram.com/xid/0bnidorc0p7tu-rnkvfy

https://wolfram.com/xid/0bnidorc0p7tu-x2r6r9


https://wolfram.com/xid/0bnidorc0p7tu-m5but2

Find only non-intersecting objects:

https://wolfram.com/xid/0bnidorc0p7tu-x9wjm5


https://wolfram.com/xid/0bnidorc0p7tu-43vto0

TargetDevice (1)
By default, the function is evaluated on CPU:

https://wolfram.com/xid/0bnidorc0p7tu-w5dfg6

https://wolfram.com/xid/0bnidorc0p7tu-z2ecct

Use the TargetDevice option to specify a different device:

https://wolfram.com/xid/0bnidorc0p7tu-vf245g

Properties & Relations (1)Properties of the function, and connections to other functions
ImageBoundingBoxes is equivalent to ImageCases[image, All -> "BoundingBox"]:

https://wolfram.com/xid/0bnidorc0p7tu-qyepue


https://wolfram.com/xid/0bnidorc0p7tu-kz7efj

Wolfram Research (2019), ImageBoundingBoxes, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageBoundingBoxes.html (updated 2025).
Text
Wolfram Research (2019), ImageBoundingBoxes, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageBoundingBoxes.html (updated 2025).
Wolfram Research (2019), ImageBoundingBoxes, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageBoundingBoxes.html (updated 2025).
CMS
Wolfram Language. 2019. "ImageBoundingBoxes." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/ImageBoundingBoxes.html.
Wolfram Language. 2019. "ImageBoundingBoxes." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/ImageBoundingBoxes.html.
APA
Wolfram Language. (2019). ImageBoundingBoxes. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageBoundingBoxes.html
Wolfram Language. (2019). ImageBoundingBoxes. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageBoundingBoxes.html
BibTeX
@misc{reference.wolfram_2025_imageboundingboxes, author="Wolfram Research", title="{ImageBoundingBoxes}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/ImageBoundingBoxes.html}", note=[Accessed: 08-July-2025
]}
BibLaTeX
@online{reference.wolfram_2025_imageboundingboxes, organization={Wolfram Research}, title={ImageBoundingBoxes}, year={2025}, url={https://reference.wolfram.com/language/ref/ImageBoundingBoxes.html}, note=[Accessed: 08-July-2025
]}