Class ImgAnnotations

Inheritance Relationships

Base Types

Class Documentation

class ImgAnnotations : public dai::Buffer, public dai::ProtoSerializable

ImgAnnotations message. Carries annotations for an image.

Public Functions

ImgAnnotations() = default

Construct ImgAnnotations message.

inline explicit ImgAnnotations(std::vector<ImgAnnotation> annotations)
virtual ~ImgAnnotations()
virtual void serialize(std::vector<std::uint8_t> &metadata, DatatypeEnum &datatype) const override
DEPTHAI_SERIALIZE(ImgAnnotations, Buffer::sequenceNum, Buffer::ts, Buffer::tsDevice, annotations)

Public Members

std::vector<ImgAnnotation> annotations

Transform.