General information

You can filter the launch of macro commands triggered by vehicle recognition by specifying the following clarifying parameters:

ParameterValueMax valueDescription
Direction
0

The macro will run if the license plate was recognized when the vehicle was moving in an unspecified direction towards the video camera

1

The macro will run if the license plate was recognized when the vehicle was approaching the video camera

2

The macro will run if the license plate was recognized when the vehicle was moving away from the video camera

SpeedKmph


Minimum speed value in km/hMaximum speed value in km/h

The macro will run if the license plate was recognized when the vehicle was moving within the specified speed limits

VehicleBrand

Vehicle manufacturer name (for example, Audi).

See the full list of possible manufacturers here


The macro will run if a vehicle of a certain manufacturer was recognized

VehicleColorVehicle color (for example, Black)

The macro will run if a vehicle of a certain color was recognized

VehicleModel

Vehicle model name (for example, A6).

See the full list of possible models here


The macro will run if a vehicle of a certain model was recognized

VehicleClass

[0, 16], where:

  • 0—Unknown (vehicles whose class could not be recognized);
  • 1—Car;
  • 2—Truck;
  • 3—Bus;
  • 4—Motorcycle;
  • 5—Light commercial vehicle;
  • 6—Trolleybus;
  • 7—Tram;
  • 8—Van;
  • 9—Minivan;
  • 10—SUV;
  • 11—Pickup truck;
  • 12—Average size vehicle;
  • 13—Large vehicle;
  • 14—Heavy-duty vehicle;
  • 15—Special vehicle;
  • 16—Dump truck

The macro will run if a vehicle of a certain class was recognized


Algorithm for setting the clarifying parameters

To set the parameters that specify the conditions for triggering macros, do the following:

  1. In the Start conditions, select the license plate recognition or vehicle recognition event.
  2. Click the button under Start conditions. As a result, additional fields will be displayed.
  3. In the Parameter field, specify the required parameter.

    The parameter value is case sensitive.



  4. Depending on the parameter used, in the Value and Max value fields, set the range of values ​​within which the macro will be triggered.

  5. Set one or more actions to be performed (see Settings specific to actions).

  6. Click the Apply  button.


The clarifying parameters are set.

Example for vehicle recognition when when the vehicle is approaching the camera or moving away from it

You can configure a macro to trigger an alarm if a license plate number is recognized when approaching or moving away from the video camera. To configure this macro, you should first create and configure the Vehicle Recognition RR detection tool (see Configuring Vehicle Recognition RR).

In this case, the alarm will be triggered when the vehicle is recognized while moving away from the video camera.

Example for speed determination

You can configure a macro to trigger an alarm if a vehicle is recognized at a certain vehicle speed. To configure this macro, you should first create and configure the Vehicle Recognition RR detection tool (see Configuring Vehicle Recognition RR). You should also select the Speed detection value as Kmph in the detection tool settings.

In this case, the alarm will be triggered when a vehicle is recognized within a speed range of 30-40 km/h.