classifySequence
Syntax
Description
classifies a video sequence using the video classifier label = classifySequence(classifier)classifier. The
function returns label, a scalar categorical that specifies the
classification of the video or optical flow sequence. label is one of
the values of the Classes property of the video classifier object.
[
additionally returns the classification score associated with the label. The score
represents the confidence of the predicted class label, and contains values between
label,score] = classifySequence(classifier)0 and 1.
[___] = classifySequence(
specifies the hardware resources for running the classifier in addition to any combination
of arguments from previous syntaxes, as one of these options:classifier,ExecutionEnvironment=env)
"auto"— Sets the execution environment to the GPU, if available. Otherwise the function sets it to the CPU."gpu"— Sets the execution environment to the GPU. Usage of the GPU requires Parallel Computing Toolbox™ and a CUDA® enabled NVIDIA® GPU. For information about the supported compute capabilities, see GPU Computing Requirements (Parallel Computing Toolbox)."cpu"— Sets the execution environment to the CPU.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2021b
See Also
Functions
sceneTimeRanges|writeVideoScenes|updateSequence|classifyVideoFile|predict|forward|resetSequence

