Documentation

Preset Syntax

Configure & Run MovidIndexWeb API

Movid Preset Syntax

config delay <value>

Configure the delay in main loop, between each iteration. The <value> is in milliseconds. If all object in pipeline are threaded, you should consider to increase the delay.

pipeline create <module> <id>

Create a new instance of a module.

pipeline set <id> <key> <value>

Set a parameter on a module instance.

pipeline connect <out> <out_idx> <in> <in_idx>

Connect <out> module at index <out_idx> to the module <in> at index <in_idx>

#comments

Lines that start with a '#', will be ignored and treated as a comment.

Example preset file

If you save a textfile with the following contents, and have Movid load it, it will create a pipeline that takes input from a camera, applies a grayscale and threshold filter and tracks fiducial markers in the threshold output image. The tracking info generated by the FiducialTracker Module is then written to console by piping it into a Dump module, and send over TUIO network protocol using the Tuio module.

pipeline create Camera cam
pipeline create GrayScale gray
pipeline create Threshold threshold
pipeline create FiducialTracker tracker

# do connections
pipeline connect cam 0 gray 0
pipeline connect gray 0 threshold 0
pipeline connect threshold 0 tracker 0

# write to console
pipeline create Dump dump
pipeline connect tracker 1 dump 0

#send TUI)
pipeline create Tuio tuio
pipeline connect tracker 1 tuio 0