# Tracklets

Tracklets 由 [ObjectTracker](https://docs.luxonis.com/software/depthai-components/nodes/object_tracker.md) 节点生成。它们提供被跟踪对象的跟踪信息。

## 功能示例

 * [RGB 上的对象跟踪器](https://docs.luxonis.com/software/depthai/examples/object_tracker.md)
 * [RGB 上的空间对象跟踪器](https://docs.luxonis.com/software/depthai/examples/spatial_object_tracker.md)
 * [视频上的对象跟踪器](https://docs.luxonis.com/software/depthai/examples/object_tracker_video.md)

## 参考

### 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

### 需要帮助？

请前往 [OAKChina 官网](https://www.oakchina.cn/) 获取技术支持或解答您的任何疑问。
