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)
Scope (7)
Extract the labels of an ObjectTrackingData object:
Extract the position of the tracked objects:
Select only 2 tracks within an ObjectTrackingData object:
Extract multiple properties at the same time:
Construct a Tabular object from ObjectTrackingData:
Construct a Dataset from ObjectTrackingData:
Construct a TimeSeries from ObjectTrackingData:
Extract all the data from ObjectTrackingData:
Text
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.
APA
Wolfram Language. (2025). ObjectTrackingData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ObjectTrackingData.html