Tracklets

Tracklets are produced by the ObjectTracker node. They provide tracking information of the tracked objects.

Reference

class depthai.Tracklets

Tracklets message. Carries object tracking information.

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

property tracklets

Retrieve data for Tracklets.

Returns

Vector of object tracker data, carrying tracking information.

class dai::Tracklets : public dai::Buffer

Tracklets message. Carries object tracking information.

Public Functions

Tracklets()

Construct Tracklets message.

Tracklets(std::shared_ptr<RawTracklets> ptr)
~Tracklets() = default

Public Members

std::vector<Tracklet> &tracklets

Retrieve data for Tracklets.

Return

Vector of object tracker data, carrying tracking information.

Private Functions

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

Private Members

RawTracklets &rawdata

Got questions?

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