图像检测结果
detections 列表,每个检测结果包含 label(标签)、confidence(置信度)以及边界框信息(xmin、ymin、xmax、ymax)。功能示例
参考
class
depthai.ImgDetections(depthai.Buffer)
method
__init__(self)Construct ImgDetections message
method
getSequenceNum(self) -> int: intRetrieves sequence number
method
getTimestamp(self) -> datetime.timedelta: datetime.timedeltaRetrieves timestamp related to dai::Clock::now()
method
getTimestampDevice(self) -> datetime.timedelta: datetime.timedeltaRetrieves timestamp directly captured from device's monotonic clock, not synchronized to host time. Used mostly for debugging
method
setSequenceNum(self, arg0: typing.SupportsInt) -> ImgDetections: ImgDetectionsRetrieves image sequence number
method
setTimestamp(self, arg0: datetime.timedelta) -> ImgDetections: ImgDetectionsSets image timestamp related to dai::Clock::now()
method
setTimestampDevice(self, arg0: datetime.timedelta) -> ImgDetections: ImgDetectionsSets image timestamp related to dai::Clock::now()
property
detections
Detections
method
需要帮助?
请前往 OAKChina 官网 获取技术支持或解答您的任何疑问。