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 to send to Media Server with the process action, or open an existing configuration that you want to modify.

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

    [Session]
    Engine0=Ingest
    Engine1=FaceDetect
    Engine2=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. Providing you have sufficient computational resources, Micro Focus recommends setting this parameter to the DataWithSource output track from your face detection task. For example, if your face detection task is named FaceDetect, set this parameter to FaceDetect.DataWithSource. Alternatively, you can use the ResultWithSource track produced by your face detection task.

    For example:

    [FaceDemographics]
    Type=demographics
    Input=FaceDetect.DataWithSource

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

  4. Save and close the configuration file. Micro Focus recommends that you save your configuration files in the location specified by the ConfigDirectory parameter.