DepthAI v2 has been superseded by DepthAI v3. You are viewing legacy documentation.
此页面由 AI 自动翻译。查看英文原版

本页目录

  • 功能示例
  • 参考

ImgDetections

YoloDetectionNetworkMobileNetDetectionNetwork 都输出此消息。此消息包含一个 detections 列表, 其中包含 labelconfidence 以及边界框信息(xminyminxmaxymax)。

功能示例

参考

class

depthai.ImgDetections(depthai.Buffer)

method
__init__(self)
Construct ImgDetections message
method
getSequenceNum(self) -> int: int
Retrieves sequence number
method
getTimestamp(self) -> datetime.timedelta: datetime.timedelta
Retrieves timestamp related to dai::Clock::now()
method
getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta
Retrieves timestamp directly captured from device's monotonic clock, not synchronized to host time. Used mostly for debugging
method
method
method
property
detections
Detections
method

需要帮助?

请前往 Discussion Forum 获取技术支持或提出您可能有的任何其他问题。