Open topic with navigation

# Introduction

The `Draw` transformation task draws regions, that were identified during analysis, on images or video frames.

By default, Media Server draws the regions described in the following table:

Face detection | An ellipse that describes the position of a face. The ellipse is described by the `ellipse` element in the records created by face detection.
Number plate recognition | A polygon that describes the position of the numberplate. The polygon is described by the `plateregion` element in the records created by number plate recognition.
Other tracks where the records contain regions | If the record contains a polygon, Media Server draws the polygon. Otherwise Media Server draws the bounding rectangle for the region.

To draw outlines around multiple types of region, for example both detected faces and recognized logos, you can combine multiple tracks using a combine ESP task. The output from the combine ESP task, and therefore the input for the drawing task, is a track where records contain other records. In this case the drawing task iterates over the nested records.

You can configure the line color and line thickness that Media Server uses for drawing.

You can also customize the drawing task by writing a Lua script that defines the regions to draw. For example, if you run face detection and demographic analysis, you can write a Lua script to outline male and female faces in different colors.

The `Draw` task creates an output track named `taskName.Output`, where `taskName` is the name of the task. The images in this track are permanently modified (the regions that you draw on the images cannot be removed).

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm