The following XML shows a single record produced by image comparison.
<output>
<record>
<pageNumber>1</pageNumber>
<trackname>Compare.Result</trackname>
<ImageComparisonResult>
<identity>
<identifier>Camera39</identifier>
<database>ReferenceImages</database>
<imagelabel>4132cf6ee5bcff7b03037140767ff32c</imagelabel>
<metadata>
<item>
<key>Location</key>
<value>Cambridge</value>
</item>
</metadata>
</identity>
<imageChangeScore>19.27</imageChangeScore>
<changedRegion>
<region>
<left>40</left>
<top>8</top>
<width>40</width>
<height>40</height>
</region>
<score>82.72</score>
</changedRegion>
<changedRegion>
<region>
<left>80</left>
<top>8</top>
<width>40</width>
<height>40</height>
</region>
<score>30.14</score>
</changedRegion>
...
</output>
The record contains the following information:
The identity element describes the reference image (in your training database) that was used for comparison. HPE Media Server creates a separate record for each reference that the ingested image was compared to.
identifier element provides the identifier of the reference.database element provides the name of the database in which the reference exists.imagelabel element provides the label of the reference image that was used for comparison.metadata element provides metadata that you associated with the reference when you trained HPE Media Server. If there is no metadata in the training database, this element is omitted.imageChangeScore element indicates the amount of change between the images. This value is a percentage, between zero (no changes) and 100 (every region has significant changes).Each changedRegion element provides the amount of change in a small region of the image. You can use this information to locate the largest changes.
region element describes the position of the top-left corner of the region, and its width and height.score element specifies how much the region has changed, as a percentage from zero to 100. A high score indicates that there are major changes within the region and a low score indicates minor differences.|
|