Open topic with navigation

# LuaScript

The path of a Lua script to run to draw on the source images or video frames. Specify an absolute path or a path relative to the LuaDirectory.

The script must define a function with the name `draw`. The function is passed a `record` from the input track, for example:

    function draw(record)
      drawEllipse(record.FaceResultAndImage.face.ellipse, 3, rgb(255,255,255))
    end

For information about the Lua functions that you can use for drawing, see Drawing Functions.

Type: | String
Default: |
Required: | No
Configuration Section: | TaskName
Example: | `LuaScript=./configurations/draw.lua`
See Also: |

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm