Tripwires Module¶
The Tripwires module allows configuring different tripwires in the Solution, that can be used in the instances for multiple purposes.
When a Tripwire configuration is defined for the solution, its configuration window will be available at the Input configuration window.
Tripwires Configuration¶
A tripwire defines a line where data will be stored on the number of objects that cross the defined zone points, after calling tripwireInst:checkTripwires() on the Lua code.
To add a new tripwire to the instance add the line points to the corresponding tripwire tab on the Input configuration Window by clicking on the desired point locations while holding the Ctrl key, after setting all the desired points, the new tripwire will be saved by clicking outside the line without the Ctrl key pressed.
Tripwire Visualization¶
Zones can be viewed on the Ouput window. When an object of type zone is written to a sink, the Areas tab will be enabled, allowing the user to customize the zones appearance.
Visualization Options:¶
- Enable : Enables / Disables viewing the zones on the Output image
- Transparency : Zone transparency on the Output
- Label : Zone label to display. Allows viewing current entries inside the zone, when zoneModule:CheckZones is called on the Lua code. Options: None,Name,Name(Entries),Entries
- Enable Occupied Color : When this setting is enabled, all Occupied Zones will be of the defined color
- Zone color(occupied) : Color to show, if the Enable Occupied Color option is enabled
- Font color : Color for the label font
- Font scale : Scale for the label font