SpatialImgDetections
Similar to ImgDetections, but this message includes XYZ coordinates of the detected objects as well.Both YoloSpatialDetectionNetwork and MobileNetSpatialDetectionNetwork output this message.Examples of functionality
- RGB & MobilenetSSD with spatial data
- Mono & MobilenetSSD with spatial data
- RGB & TinyYolo with spatial data
Reference
class
depthai.SpatialImgDetections(depthai.Buffer)
variable
method
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
setSequenceNum(self, arg0: int) -> SpatialImgDetections: SpatialImgDetections
Retrieves image sequence number
method
setTimestamp(self, arg0: datetime.timedelta) -> SpatialImgDetections: SpatialImgDetections
Sets image timestamp related to dai::Clock::now()
method
setTimestampDevice(self, arg0: datetime.timedelta) -> SpatialImgDetections: SpatialImgDetections
Sets image timestamp related to dai::Clock::now()
Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.