Obtain Demographic Information

This section describes how to obtain demographic information for detected faces.

Tip: You must first detect faces by setting up a face detection task. For information about how to do this, see Detect Faces.

To obtain demographic information for detected faces

  1. Create a new configuration or open an existing configuration to send to Media Server with the process action. Alternatively, you can modify the Media Server configuration file (mediaserver.cfg).

  2. In the [Analysis] section, add a new analysis task by setting the AnalysisEngineN parameter. You can give the task any name, for example:

    [Analysis]
    AnalysisEngine0=FaceDetect
    AnalysisEngine1=FaceDemographics
  3. Create a new configuration section to contain the task settings and set the following parameters:

    Type The analysis engine to use. Set this parameter to Demographics.
    Input The track that contains detected faces that you want to analyze. Set this parameter to the ResultWithSource output track from your face detection task. For example, if your face detection task is named FaceDetect, set this parameter to FaceDetect.ResultWithSource.

    For example:

    [FaceDemographics]
    Type=demographics
    Input=FaceDetect.ResultWithSource

    For more information about these parameters, refer to the Media Server Reference.

  4. Save and close the configuration file. If you modified the Media Server configuration file, you must restart Media Server for your changes to take effect.


_HP_HTML5_bannerTitle.htm