Go to documentation repository
Page History
Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
General information
You can filter the launch of macro commands triggered by vehicle recognition start of macros when a vehicle is recognized by specifying the following clarifying parameters:
Parameter | Value | Max value | Description |
---|---|---|---|
Direction | 0 |
Macro starts if a license plate |
is recognized when |
a vehicle |
is moving in an unspecified direction towards the |
camera | |
1 |
Macro starts if a license plate |
is recognized when |
a vehicle |
is approaching the |
camera | |
2 |
Macro starts if a license plate |
is recognized when |
a vehicle |
is moving away from the |
camera | ||
SpeedKmph | Minimum speed value in km/h | Maximum speed value in km/h |
Macro starts if a license plate is recognized when a vehicle is moving within the specified speed limits. The speed values must be in the range [0, 250] | |||
SpeedMph | Minimum speed value in mph | Maximum speed value in mph | Macro starts if a license plate is recognized when a vehicle is moving within the specified speed limits. The speed values must be in the range [0, 155] |
VehicleBrand | Vehicle manufacturer name (for example, Audi). |
For the full list of possible manufacturers |
— | Macro starts |
if a vehicle of a certain manufacturer |
is recognized | |
VehicleColor | Vehicle color (for example, Black) |
— | Macro starts if a vehicle of a certain color |
is recognized | |
VehicleModel | Vehicle model name (for example, A6). |
For the full list of possible models |
— | Macro starts |
if a vehicle of a certain model |
is recognized | |
VehicleClass | [0, 16], where:
|
— | Macro starts if a vehicle of a certain class |
is recognized |
Algorithm for setting the clarifying parameters
To set the parameters that specify the conditions for triggering starting macros, do the following:
- In the Start conditions, select the license plate recognition or vehicle recognition event (see Configuring start conditions).
- Click the
- button under Start conditions. As a result, additional fields will be
- are displayed.
In the Parameter field, specify the required parameter.
Note title Attention! The parameter value is case-sensitive.
- Depending on the parameter used, in the Value and Max value fields, set the range of values within which the macro will be triggered
- starts.
Set one or more actions to be performed (see
Settings specific to actionsClick the Apply button.
The clarifying parameters are set.
Example
...
of a license plate
...
recognition when
...
a vehicle is approaching the camera or moving away from it
You can configure a macro to trigger initiate an alarm if a license plate number is recognized when a vehicle is approaching or moving away from the video camera. To configure this macro, you should must first create and configure the License Plate Recognition RR detection tool (see Configuring License Plate Recognition plate recognition RR detector (see Configuring License plate recognition RR).
In this case, the alarm will be triggered when the an alarm is initiated when a license plate number is recognized while a vehicle is moving away from the video camera.
Example
...
with speed
...
detection
You can configure a macro to trigger initiate an alarm if a vehicle is recognized at a certain vehicle speed.To configure this macro, you should must first create and configure the Vehicle Recognition recognition RR detection tool detector (see see Configuring Vehicle Recognition recognition RR).You should must also select the Speed detection value as Kmph in the detection tool detector settings.
In this case, the alarm will be triggered an alarm is initiated when a vehicle is recognized within a speed range of 30-40 km/h.