Recognize Objects

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 [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=ObjectClassRecognition
  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 ObjectClassRecognition.
    Input (Optional) The image track to process. If you do not specify an input track, Media Server processes the first track of the correct type that is produced by the ingest engine.
    Recognizer

    The recognizer to use.

    NOTE: To run object class recognition with a surveillance license, set the parameter SurveillanceRecognizer instead. With a surveillance license you can use only certain pre-trained recognizers.

    DetectionThreshold (Optional) The minimum confidence score necessary for Media Server to output a result. Any result with a confidence score below the threshold is discarded.

    For example:

    [ObjectClassRecognition]
    Type=ObjectClassRecognition
    Recognizer=roadscene
    DetectionThreshold=30

    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.