Class ImgDetections

Inheritance Relationships

Base Type

Class Documentation

class ImgDetections : public dai::Buffer

ImgDetections message. Carries normalized detection results

Public Functions

ImgDetections()

Construct ImgDetections message.

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

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

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

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

ImgDetections &setSequenceNum(int64_t sequenceNum)

Retrieves image sequence number

Public Members

std::vector<ImgDetection> &detections

Detections.