Media Server 24.2

# Analyze Facial Expression

This section describes how to analyze the facial expression 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 analyze facial expression

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=FaceState

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 `FaceState`.
   `Input` | The track that contains detected faces that you want to analyze. Providing you have sufficient computational resources, OpenText 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:

       [FaceState]
       Type=facestate
       Input=FaceDetect.DataWithSource

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

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

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Media Server 24.2

Topic Title: Analyze Facial Expression