Detection Condition
Reference for the Detection Condition JSON element.
See also: Detection Condition
Example
{
"type": "line_cross",
"line_name": "entry-line",
"alert_direction": "positive",
"objects": []
}
Fields
| Field | Type | Description |
|---|---|---|
type | string | Condition type. |
count | number | Count used by count-based conditions. |
line_name | string | Line name used by line_cross. |
alert_direction | string | Direction used by line_cross. |
objects | Detection Object[] | Objects that satisfied the condition. |