The following XML shows a single record produced by face demographics analysis.
<record> ... <trackname>FaceDemographics.Result</trackname> <DemographicsResult> <id>8774d02a-dcf0-4410-b591-bd2b7d3981f5</id> <face> ... </face> <ethnicity>Caucasian</ethnicity> <age>Elderly</age> <gender>Male</gender> </DemographicsResult> </record>
The record contains the following information:
The id
element contains a unique identifier for the detected face. The face detection engine issues an ID for each detected appearance of a face, and the records output from the face demographics engine use the same IDs as the input records.
The face
element contains the location of the detected face. For more information about this data, see Face Detection Results.
The ethnicity
element provides the ethnicity of the person:
African/Caribbean
Arab
Caucasian
East Asian
Hispanic
Indian Subcontinent
The age
element provides the approximate age of the person, as one of the following values:
Baby
(below approximately 2 years)Child
(approximately 2–15 years)Young Adult
(approximately 15–35 years)Adult
(approximately 35–55 years)Elderly
(above approximately 55 years)gender
element provides the gender of the person (either Male
or Female
). However, Media Server does not attempt to determine the gender of babies, and will return the value Unclassified
.
|