ImgDetections
Both YoloDetectionNetwork and MobileNetDetectionNetwork output this message. This message contains a list ofdetections, which contains label, confidence, and the bounding box information (xmin, ymin, xmax, ymax).Examples of functionality
Reference
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: int) -> 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
Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.