The following XML shows a single record produced by image classification.
<output> <record> ... <trackname>Classification.Result</trackname> <ImageClassificationResult> <id>7fcf8741-9b80-4edd-943e-2d7492467dd4</id> <classification> <identifier>badger</identifier> <confidence>99.26</confidence> <metadata> <item> <key>nocturnal</key> <value>true</value> </item> </metadata> </classification> <classifier>imagenet</classifier> </ImageClassificationResult> </record> </output>
The record contains the following information:
The id
element provides a unique identifier for the result.
The classification
element represents a match between the image and a class in your chosen classifier.
identifier
element provides the identifier of the class into which the image was classified.confidence
element provides the confidence score for the classification (from 0 to 100).metadata
element provides metadata that you have added to the class in the training database. If there is no metadata associated with the class, this element is omitted.classifier
element provides the name of your chosen classifier.