Media Server 26.1
Media Server Help

# Draw Transformation Engine

The draw transformation engine draws lines and shapes on images and video frames. For example, if you run face detection you can use this engine to draw an outline around each detected face.

The input records must contain an image, and should contain metadata describing the regions that you want to draw. If you configure drawing without a Lua script, Media Server draws ellipses around detected faces, polygons around number plates, and either a polygon or bounding box around other regions. If you set the parameter LuaScript, your Lua script specifies what to draw.

NOTE: The regions drawn by this transformation are permanent and become part of the image. To draw an overlay on a video, that can be turned on and off, use the Overlay Transformation Engine.

Configuration Parameter | Description
--- | ---
Color | The line color to use when drawing.
Input | The name of the track that contains the images to modify, with region data.
LuaLine | A Lua script to run to draw on the source images or video frames.
LuaScript | A Lua script to run to draw on the source images or video frames.
Thickness | The line thickness to use when drawing.
Type | The type of transformation engine to use. Set this parameter to `draw`.

This transformation engine produces a single output track, named `taskName.Output`, where `taskName` is the name of the transformation task.

Copyright 2025 Open Text
Version 26.1 | Last updated January 2026

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: Knowledge Discovery Media Server 26.1

Topic Title: Draw Transformation Engine