The Face Demographics analysis task provides demographic information such as age, gender, and ethnicity for detected faces.
Configuration Parameter | Description |
---|---|
GPUBatchingDuration | The maximum amount of time to wait, before sending a batch of video frames to the GPU for analysis. |
GPUNumParallel | The maximum number of video frames to analyze concurrently using the GPU (per CPU thread). |
Input | The track that you want to process. |
NumParallel | The maximum number of CPU threads to use for analysis. |
SegmentDuration | The maximum duration of a record in the SegmentedResult or SegmentedResultWithSource track. |
Type | The analysis engine to use. Set this parameter to Demographics . |
Output track | Type | Description | Output1This column indicates whether the information contained in the track is included by default in the output created by an output task (when you don't set the Input parameter for the output task). |
---|---|---|---|
Data
|
DemographicsResult | Contains one record, describing the analysis results, for each input record. | No |
DataWithSource
|
DemographicsResultAndImage | The same as the Data track, but each record also includes the source frame. |
No |
Result
|
DemographicsResult | Contains one record, describing the analysis results, for each detected face. | Yes |
ResultWithSource
|
DemographicsResultAndImage | The same as the Result track, but each record also includes the best source frame. |
No |
SegmentedResult
|
DemographicsResult |
(Available only when processing video). Contains one or more records, describing the analysis results, for each detected face. The maximum duration of records in this track is limited by the parameter SegmentDuration, so multiple records are created with the same ID when a face remains in the scene for longer than this duration. |
Yes |
SegmentedResultWithSource
|
DemographicsResultAndImage | (Available only when processing video). The same as the SegmentedResult track, but each record also includes the best source frame. |
No |
To use the SegmentedResult
or SegmentedResultWithSource
tracks, ensure that the input for the face demographics task is the DataWithSource
track produced by face detection.
Field name | Type | Description |
---|---|---|
id | UUIDData | A universally unique identifier to identify the face |
face | FaceData | Information about the detected face |
ethnicity | String | The person's ethnicity |
age | String | The person's age |
gender | String | The person's gender |
The same as DemographicsResult
records, with the following additional fields.
Field name | Type | Description |
---|---|---|
image | ImageData | The source image |
|