# 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.
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 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm