TrackedFeatures

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

Reference

class depthai.TrackedFeatures

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

getData(self: object) → numpy.ndarray[numpy.uint8]

Get non-owning reference to internal buffer

Returns

Reference to internal buffer

getRaw(self: depthai.ADatatype)depthai.RawBuffer
setData(*args, **kwargs)

Overloaded function.

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

Parameter data:

Copies data to internal buffer

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

Parameter data:

Copies data to internal buffer

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

Public Members

std::vector<TrackedFeature> &trackedFeatures

Private Functions

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

Private Members

RawTrackedFeatures &rawdata

Got questions?

We’re always happy to help with code or other questions you might have.