TrackedFeatures

TrackedFeatures message. Carries position (X, Y) of tracked features and their ID.

Reference

class depthai.TrackedFeatures
getData(self: object) → numpy.ndarray[numpy.uint8]
getRaw(self: depthai.ADatatype)depthai.RawBuffer
getSequenceNum(self: depthai.TrackedFeatures)int
getTimestamp(self: depthai.TrackedFeatures)datetime.timedelta
getTimestampDevice(self: depthai.TrackedFeatures)datetime.timedelta
setData(*args, **kwargs)

Overloaded function.

  1. setData(self: depthai.Buffer, arg0: list[int]) -> None

  2. setData(self: depthai.Buffer, arg0: numpy.ndarray[numpy.uint8]) -> None

setSequenceNum(self: depthai.TrackedFeatures, arg0: int)depthai.TrackedFeatures
setTimestamp(self: depthai.TrackedFeatures, arg0: datetime.timedelta)depthai.TrackedFeatures
setTimestampDevice(self: depthai.TrackedFeatures, arg0: datetime.timedelta)depthai.TrackedFeatures
class dai::TrackedFeatures : public dai::Buffer

TrackedFeatures message. Carries position (X, Y) of tracked features and their ID.

Public Functions

TrackedFeatures()

Construct TrackedFeatures message.

TrackedFeatures(std::shared_ptr<RawTrackedFeatures> ptr)
~TrackedFeatures() = default
TrackedFeatures &setTimestamp(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp)

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

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

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

TrackedFeatures &setSequenceNum(int64_t sequenceNum)

Retrieves image sequence number

Public Members

std::vector<TrackedFeature> &trackedFeatures

Private Functions

std::shared_ptr<RawBuffer> serialize() const override

Private Members

RawTrackedFeatures &rawdata

Got questions?

Head over to Discussion Forum for technical support or any other questions you might have.