VideoTimeSeries
VideoTimeSeries[f,video]
applies f to each frame of the Video object video, returning a time series.
VideoTimeSeries[f,video,n]
applies f to overlapping partitions of n video frames.
VideoTimeSeries[f,video,n,d]
applies f to partitions with offset d.
Details
- VideoTimeSeries can be used to detect temporal or spatial events in videos, such as object detection, motion detection or activity recognition.
- VideoTimeSeries returns a TimeSeries whose values are the results of f applied to each video frame or partition of video frames. The times are the timestamps of the corresponding frame or partition.
- Frame variables n and d can be given as a scalar specifying the number of frames or a time Quantity object.
- VideoTimeSeries supports video containers and codecs specified by $VideoDecoders.
- The following options can be given:
-
Alignment Center alignment of the timestamps with partitions MetaInformation None include additional metainformation MissingDataMethod None method to use for missing values ResamplingMethod "Interpolation" the method to use for resampling paths
Examples
open allclose allBasic Examples (2)
Applications (2)
Possible Issues (1)
When the function returns a list, all lists should have similar dimensions:
Pad or trim the resulting lists to the same size to store them in the TimeSeries:
Results may also be wrapped into other containers before being stored in a TimeSeries:
Text
Wolfram Research (2020), VideoTimeSeries, Wolfram Language function, https://reference.wolfram.com/language/ref/VideoTimeSeries.html.
CMS
Wolfram Language. 2020. "VideoTimeSeries." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/VideoTimeSeries.html.
APA
Wolfram Language. (2020). VideoTimeSeries. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VideoTimeSeries.html