Events and rules
Each Event node of a saved pipeline adds events to the event rules, in the folder Vision Center > pipeline name. The device is always the pipeline’s camera. A preview on the page never sends an event.
What an Event node sends
Section titled “What an Event node sends”The first event has the node’s name, the others add what they tell, for example Gate: object left. What a node sends
follows the node before it.
| Input | Event | Kind | Values |
|---|---|---|---|
| Objects | Node name | On while at least Minimum objects are there for At least, off once fewer stayed for Off after | Count, Classes |
| Tracked objects | Node name: object entered, Node name: object left | Once per object | Class, Object (its id), Time inside (seconds) |
| Crossings | Node name | Once per crossing | Direction (In or Out), Class, Object, Score (0 to 100) |
| Number | Node name | When the value changes, at most once a second | Count, In, Out |
| Yes or no | Node name | On once the input said yes for At least, off once it said no for Off after | Count (the number compared) |
| Any, with a Timer at Send now | Node name: report | Once per pulse | Objects: Count, Classes. Crossings and numbers: Count, In, Out. Yes or no: Count |
Tracked objects send the on and off event too. An object has left once it was gone longer than Keep lost objects of the Track node. Time inside is the time in the Area before it, else from first to last seen.
Classes lists the classes there, sorted, separated by a space, for example car person.
In an On action pipeline an Event node on objects sends Node name (Count, Classes) when the run found objects and Node name: no objects found when it found none, once per run.
With Only while linked and saying no, the on and off events count as “not there” and nothing else is sent.
Placeholders
Section titled “Placeholders”Use the values in any text of an action: {count}, {classes}, {class}, {object}, {timeInside}, {direction},
{score}, {in}, {out}, next to OADM’s own such as {time} and {device}. See
Placeholders.
Event: Pipeline problem
Section titled “Event: Pipeline problem”| Event | On while | Values |
|---|---|---|
| Pipeline problem, one per pipeline | The pipeline cannot run: its chip on the page is red | Pipeline, Problem ({pipeline}, {problem}) |
| Any pipeline problem | At least one pipeline cannot run. For users with all devices | Pipelines ({count}), Pipeline with the names ({pipeline}) |
Action: Run pipeline
Section titled “Action: Run pipeline”Run pipeline, in the group Vision Center, runs one picture through the chosen Pipeline now. No devices to choose: the pipeline names its camera.
| Pipeline | Result |
|---|---|
| On action | Runs one picture and sends the events of its Event nodes |
| On action, still running | Skipped with Already running. Nothing is queued |
| Watching | Answers with its picture of the last second. Sends no extra events |
The event log lists what the run found, for example Gate count: 14; Gate: On.
Action: Reset counter
Section titled “Action: Reset counter”Reset counter sets a Count node back to 0, with its Line. Choose the Pipeline and the Counter, shown as
Pipeline: Counter.
Examples
Section titled “Examples”Examples shows whole pipelines with their rules: a long wait, people per hour, a full lobby, a stopped vehicle.
On a dashboard
Section titled “On a dashboard”The events of Vision Center work on dashboards like any other: in the dashboard’s Events, drag one from Vision Center / pipeline name onto the grid and choose its value, such as Count.