The following XML shows a single record produced by color analysis.
<output>
<record>
...
<trackname>ColorCluster.Result</trackname>
<ColorClusterResult>
<id>76b7b8dd-59f6-4fe7-9a6e-bcfae3cf94e8</id>
<colorspace>RGB</colorspace>
<cluster>
<color>232 242 252</color>
<proportion>77.12</proportion>
</cluster>
<cluster>
<color>237 28 36</color>
<proportion>21.54</proportion>
</cluster>
</ColorClusterResult>
</record>
</output>
The record contains the following information:
colorspace element specifies the color space in which the results are provided. You can choose the color space by setting the ColorSpace configuration parameter.Each cluster element represent a cluster of similar colors.
color element provides the color at the center of the cluster, in the color space requested.proportion element specifies the percentage of the image or video frame that belongs to that cluster.|
|