Classification Results
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
idelement provides a unique identifier for the result. -
The
classificationelement represents a match between the image and a class in your chosen classifier.- The
identifierelement provides the identifier of the class into which the image was classified. - The
confidenceelement provides the confidence score for the classification (from 0 to 100). - The
metadataelement 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.
- The
- The
classifierelement provides the name of your chosen classifier.