Object Class Recognition Results
The following XML shows two records produced by object class recognition.
<output> <record> ... <trackname>ObjectClassRecognition.Result</trackname> <ObjectClassRecognitionResult> <id>d5a249f7-3207-4a41-9a23-0b8ac4aafbf6</id> <classification> <identifier>van</identifier> <confidence>100</confidence> </classification> <recognizer>roadscene</recognizer> <region> <left>31</left> <top>54</top> <width>206</width> <height>159</height> </region> <parentID>...</parentID> </ObjectClassRecognitionResult> </record> <record> ... <trackname>ObjectClassRecognition.Result</trackname> <ObjectClassRecognitionResult> <id>d5a249f7-3207-4a41-9a23-0b8ac4aafbf7</id> <classification> <identifier>person</identifier> <confidence>99.94</confidence> </classification> <recognizer>roadscene</recognizer> <region> <left>243</left> <top>33</top> <width>96</width> <height>182</height> </region> <parentID>...</parentID> </ObjectClassRecognitionResult> </record> </output>
Each record contains the following information:
-
The
id
element provides a unique identifier for the recognized object. -
The
classification
element provides information about the recognized object.- The
identifier
element provides the identifier of the class that resulted in the object being recognized. - The
confidence
element provides the confidence score (from 0 to 100).
- The
- The
recognizer
element provides the name of the object class recognizer that was used. - The
region
element provides the location of the object in the image or video frame. -
The
parentID
element is empty, unless you configure the analysis engine withRegion=Input
in which case it contains the UUID of the input record. This provides a way to link the result with other records (from another analysis task) that supplied the region to analyze. To generate a single record combining the information, you can use the Combine ESP engine and the example Lua scriptparentuuidMatch.lua
.