Person Analysis Results
The following XML shows a single record produced by person analysis.
<record>
<timestamp>
...
</timestamp>
<trackname>PersonAnalysis.Result</trackname>
<PersonAnalysisResult>
<id>466bf036-0b39-48fa-b17d-b082c61b3017</id>
<hatColor>
<identifier>None</identifier>
<confidence>99.86</confidence>
</hatColor>
<hatStyle>
<identifier>None</identifier>
<confidence>99.86</confidence>
</hatStyle>
<hairColor>
<identifier>Black</identifier>
<confidence>59.88</confidence>
</hairColor>
<hairStyle>
<identifier>Short</identifier>
<confidence>59.88</confidence>
</hairStyle>
<facialHair>
<identifier>No</identifier>
<confidence>99.87</confidence>
</facialHair>
<upperColor>
<identifier>White</identifier>
<confidence>84.09</confidence>
</upperColor>
<upperStyle>
<identifier>Long Sleeve</identifier>
<confidence>99.14</confidence>
</upperStyle>
<lowerColor>
<identifier>White</identifier>
<confidence>99.9</confidence>
</lowerColor>
<lowerStyle>
<identifier>Trousers</identifier>
<confidence>100</confidence>
</lowerStyle>
<gender>
<identifier>Male</identifier>
<confidence>99.98</confidence>
</gender>
<region>
<left>636</left>
<top>108</top>
<width>162</width>
<height>297</height>
</region>
</PersonAnalysisResult>
</record>
The record contains the following information:
- an
idthat matches the identifier of the input record received from face detection or object class recognition. - a
regionelement that describes the region of the image or video frame that contains the person. -
the following elements, which describe the person's appearance. Each element has an identifier containing the analysis result and a confidence score in the range 0 to 100.
Element Possible identifier values Description hatColorBlack, Blue, Brown, Green, Gray, Orange, Pink, Purple, Red, White, Yellow, Multiple, None Hat color ("None" if the person is not wearing a hat). hatStyleBeanie, Cap, Brim, Turban, Headscarf, Helmet, None Hat style ("None" if the person is not wearing a hat). hairColorBlack, Brown, Blond, Red, Gray, Dyed Other, None Hair color ("None" if bald). hairStyleBald, Short, Long Hair style. facialHairYes, No Whether the person has facial hair. upperColorBlack, Blue, Brown, Green, Gray, Orange, Pink, Purple, Red, White, Yellow, Multiple Color of clothing on upper body. upperStyleShort Sleeve, Long Sleeve Style of clothing on upper body. lowerColorBlack, Blue, Gray, White, Other Color of clothing on lower body. lowerStyleShorts/Skirt, Trousers Style of clothing on lower body. genderMale, Female The person's gender.