predict
R2026bPredict image category
Syntax
Description
[
returns the predicted label index and score for the input image.labelIdx,score]
= predict(categoryClassifier,I)
[
returns the predicted label index and score for the images specified in
labelIdx,score]
= predict(categoryClassifier,imds)imds.
___ = predict(___,
additionally specifies whether to perform computations in parallel.UseParallel=parallelOpts)