# Tracklets

Tracklets are produced by the [ObjectTracker](https://docs.luxonis.com/software/depthai-components/nodes/object_tracker.md) node.
They provide tracking information of the tracked objects.

## Examples of functionality

 * [Object tracker on RGB](https://docs.luxonis.com/software/depthai/examples/object_tracker.md)
 * [Spatial object tracker on RGB](https://docs.luxonis.com/software/depthai/examples/spatial_object_tracker.md)
 * [Object tracker on video](https://docs.luxonis.com/software/depthai/examples/object_tracker_video.md)

## Reference

### depthai.Tracklets(depthai.Buffer)

Kind: Class

Tracklets message. Carries object tracking information.

#### __init__(self)

Kind: Method

#### getSequenceNum(self) -> int: int

Kind: Method

Retrieves sequence number

#### getTimestamp(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

#### getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

#### setSequenceNum(self, arg0: typing.SupportsInt) -> Tracklets: Tracklets

Kind: Method

Retrieves image sequence number

#### setTimestamp(self, arg0: datetime.timedelta) -> Tracklets: Tracklets

Kind: Method

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

#### setTimestampDevice(self, arg0: datetime.timedelta) -> Tracklets: Tracklets

Kind: Method

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

#### tracklets

Kind: Property

Retrieve data for Tracklets.

Returns:
Vector of object tracker data, carrying tracking information.

#### tracklets.setter(self, arg1: collections.abc.Sequence [ Tracklet ])

Kind: Method

### Need assistance?

Head over to [Discussion Forum](https://discuss.luxonis.com/) for technical support or any other questions you might have.
