Skip to main content

How to configure and manage license plate lists in LPR EventManager (BVMS v12.3 and higher versions)?

Important!

Please note that the LPR functionality is now fully integrated into BVMS v13.1 and offers extended features and improvements.

We therefore recommend using BVMS v13.1 for all LPR-related configurations and operations.

The LPR EventManager tool was intended as a temporary solution before integration into BVMS v13.1.

See:

📚Overview:

1. Introduction

Problem Statement:

image-2025-4-15_9-56-0.png

'Bridging the gap':

image-2025-4-15_9-56-13.png

BVMS v12.3 and higher offer the new LPR (license plate recognition) feature. A prerequisite for it is a corresponding license for the camera, which enables the feature on this device. With an enabled LPR option the camera is able to recognize license plates and to trigger events. E.g. if the camera recognizes a license plate, an event/alarm is then triggered in BVMS. However, there is currently no way to filter the license plates according to a previously created list. This article describes how it can be realized.

The BVMS LPR EventManager offers the possibility to filter license plates based on a previously created list and then e.g. to trigger a 'Relay' or 'Virtual Input send data' based on this list. One or a maximum of three lists can be managed in your own database.

Following lists are supported: Allow list, Watch list and Visitor list

As database is used Microsoft SQL Server, which supports in total 10.000 license plate entries with a max. of three filter lists.

1.1. Scope / None-Scope

High-Level scope:

  • Max. LPRs are 10.000 via the LPR Config Tool in the ‘allow/watch/visitor’ list

  • The ‘allow/watch/visitor’ list can be maintained manually or im-,export via csv-file

  • There is only one ‘allow/watch/visitor’ list possible yet => in case the BVMS system would have multiple LPR cams the list would apply to all

  • Tool is writing in a separate ‘instance’ of existing BVMS SQL

  • No user management / audit function inside the tool yet

image-2025-4-15_9-57-5.png

1.2. Requirements

  • A min. version of BVMS v12.3 or higher

  • ⚠️ Important: Software must run on a machine with the BVMS Management Server installed

1.3. Preparation

Copy all files to an appropriate directory (e.g. 'C:\Program Files\Bosch\LPREventManager').

2. GUI

GUI.jpg

Item no.

Description

1

Displays the database status

2

Local BVMS connection with authentication. Login with BVMS username and password with permissions for BVMS Events and device 'VirtualInputaSendData' and 'Relay'.

⚠Additionally it is possible to write LPR information to log files.
Although this might be important for error analysis,  please consider GDPR.

3

To trigger on BVMS side 'VirtualInput SendData' and/or 'Switch Relay'. The assign list can be found in the other tabs.

E.g. if a license plate is added to the table and a 'Relay Switch' is configured under the tab 'Allow list', then this relay will be switched for one seconds if the particular license plate is detected.

4

Table shows the added license plates and which are stored in the database. Consider using the tabs to assign a certain license plate to the appropriate list ('Allow list','Watch list','Visitor list').

2.1. GUI - Mode only one trigger for all LPR cameras (recommended for an LPR camera!)

GUI_oneLPRECam.jpg

2.2. GUI - Mode different triggers for multiple LPR cameras

GUI_severalCams.jpg

Step-by-step guide

3. Configuration

3.1. General steps

Copy the software files into the 'C:\Program Files\Bosch\LPREventManager\' directory. 

Go to the software directory 'C:\Program Files\Bosch\LPREventManager\' and run 'ConfigLPR.exe' with elevated rights (Run as administrator).

Important:

When you start the software for the first time, it must be started with administrator rights so that the SQL database is created!

It is recommended to start the software always with elevated rights (Run as administrator), so that services can be restarted even after changing the configuration. The configuration only needs to be saved if something changes to the BVMS settings.

First start file 'ConfigLPR.exe' with administrator-rights

start_admin.png
start_db_pleasewait.png

If the status states 'please wait' for a longer period of time, then the database will be created.

Once the database has been created successfully, the status displays 'OK':

GUI.png

Configure BVMS credential for access to BVMS events and 'Virtual Input' and/or 'Relay'. 

image-20260302-133230.png

Insert BVMS username and password for authentication and click the button 'login'.

The BVMS username and password are also used as the login for an existing configuration. The username and password are always used when saving the configuration!

If the username or password has been changed on the BVMS, the old username and password are used to open the configuration. You must then log in to the BVMS with the new username and password. Then, save the configuration, and the new username and password are saved for the configuration.

2_msg.png

If BVMS connects successfully, then above message is presented. In case a connection is not possible, please check the BVMS credentials.

For improved handling of different passwords between the password in the config file and the BVMs connection. This is created with LPR config tool version 1.0.0.29.

New feature by change BVMS password.

  1. Insert the config file password

configfilepwd.png
  1. If the BVMS connection not possible because BVMS has a different password:

  • insert the BVMS password

new_bvmspwd.png

If only one LPR camera is present or only one trigger is used for all LPR cameras, please select mode "only one LPR camera". 

If multiple LPR cameras are used with different triggers, please select mode "multiple LPR cameras".

Mode 'only one LPR camera'

4.jpg

Mode 'multiple LPR cameras'

multiple_cams_allow.jpg

Now the trigger output can be configured in e.g. 'Allow list':

Mode 'only one LPR camera'

image-20260302-135159.png

This means that if a license plate has been detected and is included in the 'Allow list', then the 'VirtualInput sendData' is triggered and the license plate is passed as text.

Additionally also a relay can be switched (closed for one second).

If multiple lists are used, this process must be repeated for the other lists. Create trigger output for each list.

Mode 'multiple LPR cameras'

image-20260302-135259.png

Example: one LPR camera with own trigger as VirtualInput.

image-20260302-135341.png

Example: other LPR camera with trigger as VirtualInput and Output as Relay

This means that if a license plate has been detected and is included in the 'Allow list', then the 'VirtualInput sendData' is triggered and the license plate is passed as text.

Additionally also a relay can be switched (closed for one second).

3.1.1. New feature from version 6: All unknown LPRs can trigger an event:

Mode 'only one LPR camera' (screenshot from old version!)

new_funct_unknowLPR.png

Mode 'multiple LPR cameras'

multiple_cams_unknow.jpg

Important: Configuration must be saved.

The configuration includes the BVMS login data and triggering. This data will be required by the service later!

new_config_menu.png

Tool is running with administrator-rights:

new_config_save1_as_admin.png

If click 'Yes', then show delayed this message:

new_config_save2_as_admin.png

Tool is running without administrator-rights:

new_config_save1.png

Configuration is saved in an encrypted file.

If changes are made to the BVMS settings, then the configuration must be adjusted and saved again. The service must then always be restarted so that the configuration data is reloaded.

Username and password are also saved and are required to open the configuration!

3.2. Configuration changes during ongoing operation

If the system is in use and the configuration is changed later, the service must be restarted to adopt the new configuration. There are two ways to start the service:

Notes:

If the config tool is started with administrator rights, you will automatically be asked after saving whether you want to restart the service. Confirming this message will restart the service and indicate when the service is running again with a message box.

Options

Description

  1. Service restart with 'LPR Config Tool'

Start the 'LPR Config Tool' with elevated rights ('ConfigLPR.exe' run as Administrator).

After the configuration was changed, the service must be stopped and started again:

Service stop:

service_stop.png

Service start:

service_start.png
  1. Service restart via Windows OS

Open Services and select the LPRservice. Then use menu buttons to stop and restart this service.

service_os.png

3.3. Manage license plate lists

'Allow list', 'Watch list', 'Visitor list':

image-20260302-141541.png
visitorlist.jpg

3.3.1. Create lists

Note: Screenshots from an older version are used here.

Add license plates to the database. E.g. add LPR in 'Allow list':

8_addList_.png

Insert license plate into textbox. 

If several license plates should be inserted in parallel, they they must be entered with a line break as shown in above screenshot.

10_addList.png

The license plates are stated in the text box only temporarily, e.g. for verification purposes. The information can still be changed in the text box. Only after pressing 'add' button the data will be written into the database!

With clicking on 'add' button, the following message box appears:

11_msg.png

Information inserted in the database:

12_result.png

If multiple lists are used, this process must be repeated for the other lists. Create the licenses plate database for each list.

⚠ Important: only a specific license plate can be entered in all list.

3.3.2. Export list

Lists can be exported individually and imported later again. It is recommended to export the lists to have a backup.

E.g. export 'Allow list' ( ⚠ Note: Screenshots from an older version are used here.):

14_export.png

Select folder and enter a filename:

15_export.png

Sample export file data:

17_export.png

All created license plates are contained unencrypted in this text file and can also be edited with a text editor.

3.3.3. Import list

Note: Screenshots from an older version are used here.

Loading an exported list.

18_import.png

Select where the list should be imported. E.g. 'Allow list'.

Select the file for import.

19_import.png

All license plates from the imported file are temporarily inserted into the text box of the selected list. They still can be edited.

image-20260302-142147.png

Important: Ensure that the tab of the corresponding list is selected, before adding the license plate numbers (Above screenshot with green border).

If the license plates will be written into the database by pressing the 'add' button. Now it is checked whether the new license plates are already in the database. They will be inserted, if still not available. In case a license plate already exists in the database, then it will not be inserted (regardless of which list/database the license plate contained in).

22_import.png

In case all license plates are new, they will be inserted to the database as shown in next screenshot:

24_import.png

License plate already exists in database:

Message, if license plates already exists in the list, the following error occurs:

52_importerror.png

Error details:

53_importerror.png
3.3.4. Remove license plate from list

Note: Screenshots from an older version are used here.

To delete a license plate from the database, select one or multiple license plates click on 'remove' button.

image-20260302-142507.png

4. Service registration

Once the database has been created and a configuration has been saved, the service can be installed and started.

Go to the software directory 'C:\Program Files\Bosch\LPREventManager\' and run 'installServiceLPREventManager.bat' with elevated rights (Run as administrator):

start_admin_service.png

Check that the service is running and that the configuration has been loaded and a connection to BVMS established.

Check also the logfiles from the service:

logfile.png

Open the log file with editor:

open_logfile.png

Above shown screenshots shows a successful registration and start of the service. 

In case the log file shows errors or no entries, then check whether the service is installed and started:

start_service.png

Verify that the service with name 'LPRService' has the status: 'Running' and Start Type: 'Automatic'.

Important: Whenever the configuration is changed, the service must be restarted!

5. BVMS settings

Configuration VirtualInputs or Relay for triggering.

E.g. configure 'VirtualInputs':

example_vi.png

Create a BVMS 'Event' from 'Virtual Input Data':

example_vi_2.png

This 'Event' can trigger from the LPR software tool. Please configure the 'VirtualInput' as shown in the screenshot. In 'Virtual Input Data' is used for LPR.

Via 'Event' and 'Alarm tabs alarms can be created for BVMS.

5.1. BVMS shows LPR Alarm

Example:

OPClient_Alarm.png
image-2025-4-15_9-59-45.png

5.2. Additional information

The log files must be evaluated for error analysis (folder 'C:\ProgramData\Bosch\LPREventManager\Log\').

If the service loses connection to the BVMS (maybe due to a configuration change), then a new connection will be attempted after 30 seconds. This is viewing in the logfiles.

5.2.1. Error case

If the following error is visible during the initial start phase, then please check whether the software was started with elevated rights (Runs as Administrator). If so, please check whether the software was running on a machine with BVMS Management Server installed on:

error_sql_.png
5.2.2. Logfiles

There are two different types of logging.

The service writes data to a specific log file, and the config tool writes to a different log file. Log files are located at C:\ProgramData\Bosch\LPREventManager\Log, and the service log file is 'Log_BVMSLPR.txt', while the config tool logs to 'Log_LPRConfig.txt'.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.