Recognize Objects

To recognize objects, configure an object analysis task by following these steps.

To recognize objects

  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 [Analysis] section, add a new analysis task by setting the AnalysisEngineN parameter. You can give the task any name, for example:

  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 object.
    Input (Optional) The image track to process.
    Database (Optional) The database to use for recognizing objects. By default, Media Server searches for objects from all object databases. Database names are case-sensitive.
    ColorAnalysis (Optional) A Boolean value that specifies whether to check the color of detected objects in order to reduce false identification. Set this parameter if the objects are primarily distinguished by color; for example, some flags differ from each other by color only.

    (Optional) Some objects, such as logos, might be partially or completely transparent, meaning that their appearance changes depending on the background on which they are superimposed. In such cases, set this parameter to specify the type of background in target images.


    For the ObjectEnvironment parameter to have an effect, the image of the object used for training the database must contain transparent pixels.

    Occlusion (Optional) By default, Media Server assumes that an object might be partially hidden in target images, for example by overlapping objects. If the object is never obscured in target images, set this parameter to FALSE to reduce false positives.
    Region (Optional) Search for objects in a region of the image, instead of the entire image.

    For example:


    For more details about the parameters that you can use to customize object recognition, refer to the Media Server Reference.

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