ImageBoundingBoxes

ImageBoundingBoxes[image]

给出 image 中每个识别出的物体类别的边界框列表的关联.

ImageBoundingBoxes[image,category]

给出识别为指定类别实例的子图像的边界框列表.

ImageBoundingBoxes[video,]

给出 video 帧中检测到的边界框的时间序列.

更多信息和选项

范例

打开所有单元关闭所有单元

基本范例  (1)

找出图像中识别出的鸟类周围的边界框:

突出显示识别出的边界框:

范围  (4)

数据  (2)

检测图像中的所有对象:

突出显示检测到的对象:

检测特定对象的实例:

突出显示检测到的实例:

检测视频帧中的对象:

在视频帧上突出显示检测到的对象:

种类  (2)

查找图像中所有可检测到的对象:

找出图像中的所有鸟类:

选项  (4)

AcceptanceThreshold  (1)

不返回低概率的物体:

允许更低的概率会识别出更多的物体:

MaxFeatures  (1)

默认情况下,返回所有检测到的物体:

指定最多返回多少个结果:

MaxOverlapFraction  (1)

检测到的边界框可以互相重合:

只给出互不相交的物体:

TargetDevice  (1)

默认情况下,在 CPU 上计算函数:

TargetDevice 选项指定不同的设备:

属性和关系  (1)

ImageBoundingBoxes 等价于 ImageCases[image, All -> "BoundingBox"]

互动范例  (1)

动态定位图像中的物体:

Wolfram Research (2019),ImageBoundingBoxes,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ImageBoundingBoxes.html (更新于 2025 年).

文本

Wolfram Research (2019),ImageBoundingBoxes,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ImageBoundingBoxes.html (更新于 2025 年).

CMS

Wolfram 语言. 2019. "ImageBoundingBoxes." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2025. https://reference.wolfram.com/language/ref/ImageBoundingBoxes.html.

APA

Wolfram 语言. (2019). ImageBoundingBoxes. Wolfram 语言与系统参考资料中心. 追溯自 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 ]}