Draw Regions

The Draw transformation task draws regions on images or video frames.

To draw regions on images and video frames

  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 [Transform] section, add a new transformation task by setting the TransformEngineN 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 transformation engine to use. Set this parameter to Draw.
    Input The name of the track that contains the images to draw on, with region data. The track must supply records that contain both an image and at least one region.
    Color (Optional) The line color to use when drawing.
    Thickness (Optional) The line thickness to use when drawing. Specify the thickness in pixels.

    For example:

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