DepthAI v2 has been superseded by DepthAI v3. You are viewing legacy documentation.

本页目录

  • 功能示例
  • 参考

图像检测结果

YoloDetectionNetworkMobileNetDetectionNetwork 都会输出此消息。该消息包含一个 detections 列表,每个检测结果包含 label(标签)、confidence(置信度)以及边界框信息(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

需要帮助?

请前往 OAKChina 官网 获取技术支持或解答您的任何疑问。