Class SpatialImgDetections

Inheritance Relationships

Base Type

Class Documentation

class SpatialImgDetections : public dai::Buffer

SpatialImgDetections message. Carries detection results together with spatial location data

Public Functions

SpatialImgDetections()

Construct SpatialImgDetections message.

explicit SpatialImgDetections(std::shared_ptr<RawSpatialImgDetections> ptr)
virtual ~SpatialImgDetections() = default
SpatialImgDetections &setTimestamp(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp)

Sets image timestamp related to dai::Clock::now()

SpatialImgDetections &setTimestampDevice(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp)

Sets image timestamp related to dai::Clock::now()

SpatialImgDetections &setSequenceNum(int64_t sequenceNum)

Retrieves image sequence number

Public Members

std::vector<SpatialImgDetection> &detections

Detection results.