ObjectTrackingData
✖
ObjectTrackingData
is an object representing a list of tracked bounding boxes or other objects.
Details



- ObjectTrackingData contains information about objects that are tracked over time. Tracked objects are also known as tracklets.
- ObjectTrackingData is returned from VideoObjectTracking and other functions.
- For a tracked object tracked, tracked[elem] gives objects and their properties.
- Possible values for elements elem are:
-
label corresponding to a specific label prop property prop for given tracklets label->prop properties for the given label - A list of available labels label can be obtained using tracked["Labels"].
- Global properties include:
-
"Labels" list of tracked labels "Length" number of times, frames or steps "TimedQ" returns True if times are present "Times" times for each frame, if present "Type" type of tracked objects - Possible types are "BoundingBoxes", "Points" and "LabelMatrices".
- Time-related properties, given as a time series for each label:
-
"FirstFrame" first frame in which a label appears "FirstTime" first time in which a label is present "LastTime" last time in which a label is present "TimeInterval" first and last time in which a label is present - Properties for "BoundingBoxes" type objects include:
-
"BoundingBox" bounding boxes as Rectangle[{xmin,ymin},{xmax,ymax}] (main) "Dimension" dimensions given as {width,height} "Position" center of the bounding box given as {x,y} "MaxDimension" max dimension for each label given as {maxWidth,maxHeight} "SubVideo" video of the tracked bounding boxes for each label - Properties for an object of the "Points" type include:
-
"Point" points for for each time given as Point[{x,y}] (main) "Position" positions for each time given as {x,y} - Properties for an object of the "LabelMatrices" type include:
-
"Matrix" tracked label matrices (main) "ColorizedImage" colorized version of the label matrices - For timed ObjectTrackingData, the type-specific properties are returned as TimeSeries.
- With no times present, time-related properties are equivalent to indices. Other type-specific properties are returned as lists.
- The following operations on ObjectTrackingData are supported:
-
Normal[tracked] the main property for each type with times if available Dataset[tracked] a dataset of the main property for each type with times if available Tabular[tracked] a tabular of the main property for each type with times if available TimeSeries[tracked] a time series of the main property for each type if available EventSeries[tracked] an event series of the main property for each type if available
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Detect and track objects in a video:

https://wolfram.com/xid/0bni0mcmqh72q-gfpxjl

First time when each label shows:

https://wolfram.com/xid/0bni0mcmqh72q-0osdov

Highlight tracked objects on the video:

https://wolfram.com/xid/0bni0mcmqh72q-vs97nw

Scope (8)Survey of the scope of standard use cases
Extract the labels of an ObjectTrackingData object:

https://wolfram.com/xid/0bni0mcmqh72q-mls51r

https://wolfram.com/xid/0bni0mcmqh72q-6ec973

Extract the position of the tracked objects:

https://wolfram.com/xid/0bni0mcmqh72q-q2ehrm

Select only 2 tracks within an ObjectTrackingData object:

https://wolfram.com/xid/0bni0mcmqh72q-z8ql1z

https://wolfram.com/xid/0bni0mcmqh72q-qr759l


Extract multiple properties at the same time:

https://wolfram.com/xid/0bni0mcmqh72q-jr5tzw

https://wolfram.com/xid/0bni0mcmqh72q-xwkrk3

Extract properties for a specific object:

https://wolfram.com/xid/0bni0mcmqh72q-8afpay

https://wolfram.com/xid/0bni0mcmqh72q-3dnqlh

Extract properties for multiple objects:

https://wolfram.com/xid/0bni0mcmqh72q-tmz91a

Construct a Tabular object from ObjectTrackingData:

https://wolfram.com/xid/0bni0mcmqh72q-fz1s15

Construct a Dataset from ObjectTrackingData:

https://wolfram.com/xid/0bni0mcmqh72q-1jgumu

Construct a TimeSeries from ObjectTrackingData:

https://wolfram.com/xid/0bni0mcmqh72q-223q4h


https://wolfram.com/xid/0bni0mcmqh72q-npkw0o

Extract all the data from ObjectTrackingData:

https://wolfram.com/xid/0bni0mcmqh72q-ebgtd9

Wolfram Research (2025), ObjectTrackingData, Wolfram Language function, https://reference.wolfram.com/language/ref/ObjectTrackingData.html.
Text
Wolfram Research (2025), ObjectTrackingData, Wolfram Language function, https://reference.wolfram.com/language/ref/ObjectTrackingData.html.
Wolfram Research (2025), ObjectTrackingData, Wolfram Language function, https://reference.wolfram.com/language/ref/ObjectTrackingData.html.
CMS
Wolfram Language. 2025. "ObjectTrackingData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ObjectTrackingData.html.
Wolfram Language. 2025. "ObjectTrackingData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ObjectTrackingData.html.
APA
Wolfram Language. (2025). ObjectTrackingData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ObjectTrackingData.html
Wolfram Language. (2025). ObjectTrackingData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ObjectTrackingData.html
BibTeX
@misc{reference.wolfram_2025_objecttrackingdata, author="Wolfram Research", title="{ObjectTrackingData}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/ObjectTrackingData.html}", note=[Accessed: 18-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_objecttrackingdata, organization={Wolfram Research}, title={ObjectTrackingData}, year={2025}, url={https://reference.wolfram.com/language/ref/ObjectTrackingData.html}, note=[Accessed: 18-March-2025
]}