predict
Predict image category
Syntax
Description
[
returns the predicted label index and score for the input image.labelIdx
,score
]
= predict(categoryClassifier
,I
)
predict
supports parallel computing using multiple MATLAB® workers. Enable parallel computing using the Computer Vision Toolbox Preferences dialog. To open Computer Vision Toolbox™ preferences, on the Home tab, in the
Environment section, click Preferences. Select
Computer Vision Toolbox.
[
returns the predicted label index and score for the images specified in
labelIdx
,score
]
= predict(categoryClassifier
,imds
)imds
.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2014b