Module setup🔗

Warning

This module uses additional libraries that are not included in the basic Eocortex distribution package. Before configuring and using the module, it is necessary to install these libraries on the server to which the cameras selected for recognition are connected. After installation, an additional license key must be activated on this server to license the module.

Warning

Only one of the License Plate Recognition modules can be installed on the same server: either License Plate Recognition (Complete) or License Plate Recognition (Light).

To use the module, enable and set up the software motion detector, then enable and set up the module itself.

Launch the Eocortex Configurator, go to the /config/svg/ico-tab-cams.png Cameras tab, select a camera in the list located on the left side of the page, and set up the motion detector on the Motion detector tab on the right side of the page.

Then switch to the Analytics tab and enable the module using the /svg/ico-switch-on.png toggle.

../../_images/module-turn18.png

Clicking the /config/svg/ico-settings.png button opens the module setup window.

Basic settings

The settings of the license plate recognition can be set on the Basic settings tab.

../../_images/lpr-light-configure-recognition.png

Specify countries: opens a window where license plates and countries that should be recognized can be selected.

../../_images/configure-countries.png

In the window that opens, mark the countries whose license plates should be recognized and select license plate templates for each selected country. Unmarked countries and templates will not be recognized.

Warning

The empty list of countries means that the Licence plate recognition (Complete) module is not installed, or that errors occurred during its installation, or that there is no protection key, or its activation encountered problems.

Warning

The more countries and samples have been selected for recognition, the higher the computing load on the server. When the processor load exceeds 80%, the recognition quality may drop significantly.

Set the size range of a license plate opens the window of setting the minimum and maximum width of the license plates to be recognized

../../_images/lpr-light-configure-recognition-size.png

License plate search zone opens the window of setting up the zones of the frame where the license plate numbers to be recognized will appear.

../../_images/lpr-light-configure-recognition-zone.png

For creating a new zone, it is required to press the left mouse button and, holding it, select a rectangular area. The total area uniting all the set zones will be used for recognition. To delete the zone, click on the close icon in the upper right corner of the zone.

Use neural network for searching for license plate numbers: Enabling this option allows to increase accuracy of searching for number plates. However, the server load from the given camera will increase 50% approx.

Use neural network for recognizing license plate numbers: Enabling this option will increase accuracy of license plate symbols' recognition. However, the load on the server from the given camera will increase 50% approx.

The minimum number of frames with recognized car plate: The license plate recognition event will be generated only after the preset number of frames, even if the number was recognized on the smaller number of frames. The larger this value, the higher the possibility to obtain the correctly recognized number.

The maximum number of unrecognized characters: this setting specifies the maximum permissible number of unrecognized characters when recognizing the license plate. If the quantity of the unrecognized characters exceeds the specified limit, the license plate recognition event is not generated.

Re-recognition lockout time, sec.: allows to avoid the repeated generation of the recognition event for the same number because the second recognition is only possible after the specified interval.

The minimum number of frames with unrecognized car plate: If it is not possible to recognize the license plate, the module generates a corresponding event. Using this setting, the number of frames in the analyzed sequence that the module will use in recognition attempts before deciding about the impossibility of recognizing can be adjusted. The higher this value, the higher the probability of obtaining a correctly recognized number.

Quality of recognition: the internal parameter of the module operation. It sets the filtering by the quality of recognition, meaning that the license plates the reliability of whose recognition is lower than a preset value will be automatically discarded. The value of this parameter shall be selected tentatively: when it is higher, the reliability of the recognized numbers will be higher, but the total quantity of the recognized numbers will be smaller; when it is lower, the quantity of the recognized numbers will be larger, but the number of recognition mistakes will increase.

Use motion detector: Enabling this option allows detecting license plates only in case of movement on the frame.

Direction of movement: activation of this option allows to determine the direction of movement. From the drop-down menu, select which movement direction, relative to the camera position, will be assigned to license plates moving from top to bottom of the camera frame.

Additional: allows importing and exporting settings of the license plate recognition module.

Parking spots

On the Parking spots tab, settings for parking lots can be made.

../../_images/lpr-light-configure-parking.png

To access the settings for parking lots, turn on the Track parking lots slider.

Note

Parking lot settings are set for the entire system.

The following actions can be performed in the settings window:

  • create a new parking lot;

  • edit or delete an existing parking lot.

The following settings can be set for a parking lot:

  • name;

  • one or more cameras working as entry and exit points;

  • permissible parking time;

  • number of parking spots;

  • period and time of resetting the counter.

../../_images/lpr-light-configure-parking-zone.png

The following events were added to the Tasks by event tab of the Automation section:

  • Parking vehicle counter has been changed

  • Parking event

  • Parking lot occupancy has changed

A new user right, Adjusting the number of occupied parking spots, has been added to the Users section. This right allows the user to change the value of the occupied parking spots counter in the Eocortex Client application. By default, this right is enabled.

Database

The access to the license plate database can be set on the Database tab.

../../_images/configure-database.png

Two database deployment options are available: Local or Remote.

If the recognition process runs on only one server, it is recommended deploying the database on this server by selecting Local.

If the recognition process is running on several servers, the database should still be hosted only on one of them. For this purpose, select the Remote option for all cameras and specify the database connection parameters: server address, name and password of the database administrator. The same applies when the database of the module is deployed on one server, and the camera with the module enabled is attached to another one.

Note

Eocortex version 3.6 and lower uses Firebird DBMS with the following default values:

  • Port: 3050

  • Username: SYSDBA

  • Password: masterkey

Note

Starting from version Eocortex 4.0, the module's database is handed over to the PostgreSQL DBMS with the following default values:

  • Port: 5432

  • Username:

    • For Windows: postgres

    • For Linux: eocortex

  • Password: masterkey

Warning

Remote access to databases is not allowed by default in PostgreSQL and must be additionally configured if remote databases are used for analytics. All settings must be done for the server where the database is stored. Settings are slightly different for Windows and Linux operating systems.

When the server is running for the first time after upgrading Eocortex to version 4.0 or higher, the existing module database will be automatically transformed to be compatible with PostgreSQL.

Warning

If connecting to a Remote database, use the DBMS Username and Password that are valid for the server storing the database.

Warning

Independent of the database location, the recognition events (date and time of recognition, coordinates of the object in the frame, binding of the recognized object to the database) will always be stored on the server to which the camera with the corresponding events is bound.

Warning

Synchronization with the database located on a remote server can take some time

Note

When using a remote database, the remote database replication mechanism will be applied.

It is possible to check the availability of the database clicking the Connection check link. If the server is unavailable, the corresponding message will be displayed.

Barrier gate control

The settings of the module’s interaction with a rising arm barrier can be made on the Barrier gate control tab.

../../_images/lpr-light-configure-barrier.png

The Rising arm barrier control mode must be activated to access the settings of the module’s interaction with a rising arm barrier.

Note

To use the module only for controlling a rising arm barrier, the Licence plate recognition (Complete) module license or protection key is not required. However, for ensuring the abovementioned functionality, it is necessary to have the Licence plate recognition (Complete) module support indicated in the Eocortex license file or software key for the corresponding quantity of cameras.

When the rising arm barrier control mode is activated, the following capabilities are available:

Control methods:

  • Manual control: allows the operator to open and close the barrier using the Eocortex Client application.

  • Auto (by recognized license plate): allows to open the rising arm barrier automatically if the recognized number is in the white list, i.e. is included in the group of vehicles for which the automatic opening of the barrier is envisioned.

In case the automatic rising arm barrier control is activated, the following options are available:

  • Open the barrier: if the recognized number is in the white list, the Eocortex server generates a command to open the barrier.

  • Open and close: if the recognized number is in the white list, the Eocortex server generates a command to open the barrier; then, in a number of seconds set in the Close after opening in (sec) field, a command for closing the barrier is generated.

Note

Most of the modern rising arm barriers automatically close after the passing of one vehicle. For such barriers, the Open the barrier option shall be selected.

Warning

When the Open and close option is selected, it is imperative that the barrier itself has a feature of preventing its closing when a car is below the rising arm. It means that after generating the closing command the barrier’s automatics must check if there is a vehicle or a person on the line of closing, and proceed with the closing only in the absence of the above.

Note

Both in manual and in automatic barrier control mode, the opening or closing command is understood as the generation of the Request to open rising arm barrier or Request to close rising arm barrier event, correspondingly. To control the rising arm barrier, it is required to set the actions for these events depending on the control wiring diagram of the particular barrier.

Note

For the License Plate Recognition (Light) module, the following types of Automatic reports can be configured: License plate recognition, Entry/exit time recording, Vehicle counting.

Warning

The module will start working only when the settings are applied.

Related references