The following XML shows a single record produced by image classification.
<output> <record> ... <trackname>ObjectClass.Result</trackname> <ObjectClassResult> <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> <identifier>badger</identifier> <confidence>99.26</confidence> </ObjectClassResult> </record> </output>
The record contains the following information:
The id
element provides a unique identifier for the classified image. Media Server issues an ID for each image.
The classification
element represents a match between the image and an object class in your chosen classifier.
identifier
element provides the identifier of the object 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 object class in the training database. If there is no metadata associated with the object class, this element is omitted.classifier
element provides the name of your chosen classifier.identifier
and confidence
elements provide the same data as the those in the classification
element. These elements are deprecated.
|