SpatialImgDetections
Similar to ImgDetections, but this message includes XYZ coordinates of the detected objects as well.Examples of functionality
Reference
class
dai::SpatialImgDetections
variable
std::vector< SpatialImgDetection > & detections
Detection results.
function
SpatialImgDetections()explicit function
SpatialImgDetections(std::shared_ptr< RawSpatialImgDetections > ptr)function
~SpatialImgDetections()function
SpatialImgDetections & setTimestamp(std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp)Sets image timestamp related to dai::Clock::now()
function
SpatialImgDetections & setTimestampDevice(std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp)Sets image timestamp related to dai::Clock::now()
function
SpatialImgDetections & setSequenceNum(int64_t sequenceNum)Retrieves image sequence number
Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.