You can filter the 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, see Functionality of License plate recognition RR | — | 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, see Functionality of License plate recognition RR | — | 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 |
To set the parameters that specify the conditions for starting macros, do the following:
In the Parameter field, specify the required parameter.
The parameter value is case-sensitive. |
Set one or more actions to be performed (see Examples of macros).
Click the Apply button.
The clarifying parameters are set.
You can configure a macro to initiate an alarm if a license plate is recognized when a vehicle is approaching or moving away from the camera. To configure this macro, you must first create and configure the License plate recognition RR detector (see Configuring License plate recognition RR).
In this case, an alarm is initiated when a license plate is recognized while a vehicle is moving away from the camera.
You can configure a macro to initiate an alarm if a vehicle is recognized at a certain vehicle speed. To configure this macro, you must first create and configure the Vehicle recognition RR detector (see Configuring Vehicle recognition RR). You must also select the Speed detection value as Kmph in the detector settings.
In this case, an alarm is initiated when a vehicle is recognized within a speed range of 30-40 km/h.