Milestone XProtect LPR Administrator Manual
Milestone XProtect LPR Administrator Manual
Administrator manual
Administrator manual | XProtect® LPR 2020 R1
Contents
Copyright, trademarks, and disclaimer 4
Overview 5
Compatibility 7
Licensing 8
System requirements 9
Camera angles 11
Image resolution 13
Physical surroundings 18
Contrast 21
Installation 23
Configuration 25
Snapshots (explained) 27
2|
Administrator manual | XProtect® LPR 2020 R1
Info tab 29
Select snapshots 36
Validate configuration 36
Auto-configure 37
Maintenance 44
Upgrade 46
3|
Administrator manual | XProtect® LPR 2020 R1
Trademarks
Microsoft and Windows are registered trademarks of Microsoft Corporation. App Store is a service mark of Apple
Inc. Android is a trademark of Google Inc.
All other trademarks mentioned in this document are trademarks of their respective owners.
Disclaimer
This text is intended for general information purposes only, and due care has been taken in its preparation.
Any risk arising from the use of this information rests with the recipient, and nothing herein should be construed
as constituting any kind of warranty.
Milestone Systems A/S reserves the right to make adjustments without prior notification.
All names of people and organizations used in the examples in this text are fictitious. Any resemblance to any
actual organization or person, living or dead, is purely coincidental and unintended.
This product may make use of third-party software for which specific terms and conditions may apply. When that
is the case, you can find more information in the file 3rd_party_software_terms_and_conditions.txt located in your
Milestone system installation folder.
Overview
XProtect LPR offers video-based content analysis (VCA) and recognition of vehicle license plates that interacts with
your surveillance system and your XProtect Smart Client.
To read the characters on a plate, XProtect LPR uses optical character recognition on images aided by specialized
camera settings.
You can combine LPR (license plate recognition) with other surveillance features such as recording and event-
based activation of outputs.
l Activate alarms
l Open gates
l Switch on lights
5 | Overview
Administrator manual | XProtect® LPR 2020 R1
2. The recording server sends video to the LPR servers (c) to recognize license plates by comparing them
with the license plate characteristics in the installed country modules.
3. LPR servers send recognitions to the event server (d) to match with the license plate match lists.
4. The event server sends events and alarms to XProtect Smart Client (e) when there is a match.
5. The system administrator manages the entire LPR configuration, for example, setting up events, alarms,
and lists from the Management Client (f).
LPR server: The LPR server handles LPR video recorded by your surveillance system. It analyzes the video and
sends information to the event server that uses it for triggering the defined events and alarms. Milestone
recommends that you install the LPR server on a computer especially allocated for this purpose.
LPR camera: The LPR camera captures video as any other camera, but some cameras are dedicated for LPR use.
The better suited camera you use, the more successful recognitions you will get.
Country module: A country module is a set of rules that defines license plates of a certain type and form as
belonging to a certain country or region. It dictates plate and character specifics such as color, height, spacing, and
similar, which is used during the recognition process.
License plate match list: A license plate match list is a user-defined list that you create. License plate match lists
are collections of license plates that you want your system to treat in a special way. Once you have specified a list,
you can set up events to recognize license plates on these lists and in this way trigger events and alarms.
6 | Overview
Administrator manual | XProtect® LPR 2020 R1
Compatibility
XProtect LPR is compatible with version 2014 SP3 or newer of:
l XProtect Corporate
l XProtect Expert
l XProtect Professional+
l XProtect Express+
7 | Overview
Administrator manual | XProtect® LPR 2020 R1
Licensing
l A base license for XProtect LPR that covers an unrestricted number of LPR servers
l One LPR camera license per LPR camera you want to use in XProtect LPR
l A LPR country module license for each country, state or region you need in your XProtect LPR solution.
Five LPR country module licenses are included with the XProtect LPR base license. All country modules are
automatically installed when you install your XProtect LPR product. However, the installed modules are by
default disabled and you must enable the modules (see Country modules tab on page 34) that you want to
use. You can only enable as many country modules as you have LPR country module licenses for
Example: You have five LPR country module licenses and you have installed 10 country modules. Once you have
selected five country modules, you cannot select any more. You must clear some of your selections before you
can select other modules.
To find information about the current status of your licenses, see View LPR server information on page 25.
8 | Licensing
Administrator manual | XProtect® LPR 2020 R1
System requirements
For information about the system requirements for the various components of your system, go to the Milestone
website (https://www.milestonesys.com/systemrequirements/).
Milestone recommends that you install the LPR server on a computer especially allocated
for this purpose.
This section helps you prepare cameras for license plate recognition, but it also introduces you to important
theories about cameras and lenses that are crucial to understand in order to get optimal images.
l Exposure
l Positioning
It is important to take these factors into consideration as they have a critical influence on successful license plate
recognition. You must mount cameras and configure XProtect LPR in a way that matches each specific
environment. You cannot expect the product to run successfully without configuration. A camera used for LPR has
a CPU consumption that is about five times higher than a normal camera. If a camera has not been set up
correctly, it will greatly affect the level of successful recognitions and the CPU performance.
l The area should cover only the part of the image where the license plate is visible as the vehicle moves in
and out of the image
l Avoid to have objects that block the view path of the camera, such as pillars, barriers, fences, gates
If too many irrelevant items are included, they will interfere with the detection, and the LPR server will use CPU
resources on analyzing irrelevant items instead of license plates.
Mount the camera so the license plate appears from the top of the image (or bottom if traffic is driving away from
the camera) instead of from the right or left side. In this way you make sure that the recognition process of a
license plate only starts when the whole plate is in the view:
Camera angles
l Single-line rule: Mount the camera so that you can draw a horizontal line that crosses both the left and
right edge of the license plate in the captured images. See the illustrations below for correct and incorrect
angles for recognition.
l Vertical angle: The recommended vertical view angle of a camera used for LPR is between 15°-30°.
l Horizontal angle: The recommended maximum horizontal view angle of a camera used for LPR is between
15°-25°.
Take a snapshot and make sure that the requirements to stroke width and plate width as described below are
fulfilled. Use a standard graphics editor to measure the amount of pixels. When you start the process of reaching
the minimum plate width, begin with a low resolution on the camera, and then work your way up in a higher
resolution until you have the required plate width.
Stroke width
The term pixels per stroke is used to define a minimum requirement for fonts that should be recognized. The
following illustration outlines what is meant by stroke:
Because the thickness of strokes depends on country and plate style, measurements like pixels/cm or pixels/inch
are not used.
The resolution for best LPR performance should be at least 2.7 pixels/stroke.
Plate width
Minimum plate
Plate type Plate width Setup
width (pixels)
If vehicles are moving when recorded, and an interlaced camera is used, only a half of the image can be used (only
the even lines) for recognition compared with a camera configured for stopped vehicles and no interlacing. This
means that the resolution requirements are almost double as high.
Image resolution
Image quality and resolution is important for a successful license plate recognition. On the other hand, if the video
resolution is too high, the CPU might be overloaded with the risk of skipped or faulty detections. The lower you can
set the acceptable resolution, the better CPU-performance and the higher detection rate you get.
In this example we explain how to do a simple image quality calculation and find a suitable resolution for LPR. The
calculation is based on the width of a car.
We estimate that the horizontal width is 200 cm/78 inches, as we assume the width of a standard car is 177 cm/70
inches, and besides that we add ~10% for the extra space. You can also do a physical measuring of the area of
interest if you need to know the exact width.
The recommended resolution of the stroke thickness is 2.7 pixels/stroke, and the physical stroke thickness is 1
cm for a European plate and 0.27 inches for a US plate. This gives the following calculation:
Because US plates use a font with a narrow stroke, a higher resolution is needed than for
European plates.
QCIF 176×120
CIF 352×240
2CIF 704×240
VGA 640×480
4CIF 704×480
D1 720×576
SVGA 800×600
XGA 1024×768
720p 1280×1024
You can use different combinations of the three settings to achieve the same exposure. The key is to know which
trade-offs to make, since each setting also influences the other image settings:
The next sections describe how each setting is specified, what it looks like, and how a given camera exposure
mode affects this combination:
Aperture settings
The aperture setting controls the amount of light that enters your camera from the lens. It is specified in terms of
an f-stop value, which can at times be counterintuitive, because the area of the opening increases as the f-stop
decreases.
The example illustrates how the depth of field is affected by the f-stop value. The blue line indicates the focus
point.
A high f-stop value makes it possible to have a longer distance where the license plate is in focus. Good light
conditions are important for sufficient exposure. If lighting conditions are insufficient, the exposure time needs to
be longer, which again increases the risk of getting blurry images.
A low f-stop value reduces the focus area and thereby the area used for recognition, but is suitable for conditions
with low light. If it is possible to ensure that vehicles are passing the focus area at a low speed, a low f-stop value is
suitable for a consistent recognition.
Shutter speed
A camera's shutter determines when the camera sensor is open or closed for incoming light from the camera
lens. The shutter speed refers to the duration when the shutter is open and light can enter the camera. Shutter
speed and exposure time refer to the same concept, and a faster shutter speed means a shorter exposure time.
Motion blur is undesired for license plate recognition and surveillance. In many occasions vehicles are in motion
while license plates are detected which makes a correct shutter speed an important factor. The rule of thumb is to
keep the shutter speed high enough to avoid motion blur, but not too high as this may cause under-exposed
images depending on light and aperture.
ISO speed
The ISO speed determines how sensitive the camera is to incoming light. Similar to shutter speed, it also
correlates 1:1 with how much the exposure increases or decreases. However, unlike aperture and shutter speed,
a lower ISO speed is in general desirable, since higher ISO speeds dramatically increase image noise. As a result,
ISO speed is usually only increased from its minimum value if the desired image quality is not obtainable by
modifying the aperture and shutter speed settings solely.
Common ISO speeds include 100, 200, 400 and 800, although many cameras also permit lower or higher values.
With digital single-lens reflex (DSLR) cameras, a range of 50-800 (or higher) is often acceptable.
Physical surroundings
When you mount and use cameras for LPR, note the following factors related to the surroundings:
l Much light: Too much light in the surroundings can lead to overexposure or smear:
l Overexposure is when images are exposed to too much light, resulting in a burnt-out and overly
white appearance. To avoid overexposure, Milestone recommends that you use a camera with a
high dynamic range and/or use an auto-iris lens. Iris is the adjustable aperture. For that reason, iris
has a significant effect on the exposure of images
l Smear is an effect from overexposure that leads to unwanted light vertical lines in images. It is
often caused by slight imperfections in the cameras’ charge-coupled device (CCD) imagers. The CCS
imagers are the sensors used to digitally create the images
l Little light: Too little light in the surroundings or too little external lighting can lead to underexposure:
l Underexposure is when images are exposed to too little light, resulting in a dark image with hardly
any contrast (see Contrast on page 21). When auto-gain (see Unwanted camera features on page 21)
cannot be disabled or when you are not able to configure a maximum allowed shutter time (see
Lens and shutter speed on page 19) for capturing moving vehicles, too little light will initially lead to
gain noise and motion blur in the images, and ultimately to underexposure. To avoid
underexposure, use sufficient external lighting and/or use a camera that has sufficient sensitivity in
low-light surroundings without using gain
l Infrared: Another way to overcome difficult lighting conditions is to use artificial infrared lighting combined
with an infrared-sensitive camera with an infrared pass filter. Retro-reflective license plates are particularly
suitable for use with infrared lighting:
l Retro-reflectivity is achieved by covering surfaces with a special reflective material which sends a
large portion of the light from a light source straight back along the path it came from. Retro-
reflective objects appear to shine much more brightly than other objects. This means that at night
they can be seen clearly from considerable distances. Retro-reflectivity is frequently used for road
signs, and is also used for different types of license plates
l Weather: Snow or very bright sunlight may for example require special configuration of cameras
l Plate condition: Vehicles may have damaged or dirty license plates. Sometimes this is done deliberately in
an attempt to avoid recognition
l Auto-iris: If using an auto-iris lens, always set the focus with the aperture as open as possible. In order to
make the aperture open, you can use neutral density (ND) filters or—if the camera supports manual
configuration of the shutter time—the shutter time can be set to a very short time
l Neutral Density (ND) filters or gray filters basically reduce the amount of light coming into a
camera. They work as "sunglasses" for the camera. ND filters affect the exposure of images (see
Understanding camera exposure on page 15)
l Infrared: If using an infrared light source, focus may change when switching between visible light and
infrared light. You can avoid the change in focus by using an infrared compensated lens, or by using an
infrared pass filter. If you use an infrared pass filter, an infrared light source is required—also during
daytime
l Vehicle speed: When vehicles are moving, cameras’ shutter time should be short enough to avoid motion
blur. A formula for calculating the longest suitable shutter time is:
l Vehicle speed in km/h: Shutter time in seconds = 1 second / (11 × max vehicle speed in kilometers
per hour)
l Vehicle speed in mph: Shutter time in seconds = 1 second / (18 × max vehicle speed in miles per
hour)
The following table provides guidelines for recommended camera shutter speeds for different vehicle speeds:
1/50 4 2
1/100 9 5
1/200 18 11
1/250 22 13
1/500 45 27
1/750 68 41
1/1000 90 55
1/1500 136 83
1/2000 181 111
1/3000 272 166
1/4000 363 222
Contrast
When you determine the right contrast for your LPR camera, consider the difference in gray value (when images
are converted to 8-bit grayscale) between the license plate’s characters and the license plate’s background color:
Pixels in an 8-bit grayscale image can have color values ranging from 0 to 255, where grayscale value 0 is absolute
black and 255 is absolute white. When you convert your input image to an 8-bit grayscale image, the minimum
pixel value difference between a pixel in the text and a pixel in the background should be at least 15.
Noise in the image (see Unwanted camera features on page 21), the use of compression (see Unwanted camera
features on page 21), the light conditions, and similar can make it difficult to determine the colors of a license
plate’s characters and background.
Automatic gain adjustment: One of the most common types of image interference caused by cameras is gain
noise.
l Gain is basically the way that a camera captures a picture of a scene and distributes light into it. If light is
not distributed optimally in the image, the result is gain noise.
Controlling gain requires that complex algorithms are applied, and many cameras have features for
automatically adjusting gain. Unfortunately, such features are rarely helpful in connection with LPR.
Milestone recommends that you configure your cameras’ auto-gain functionality to be as low as possible.
Alternatively, disable the cameras’ auto-gain functionality.
In dark surroundings, you can avoid gain noise by installing sufficient external lighting.
Automatic enhancement: Some cameras use contour, edge or contrast enhancement algorithms to make
images look better to the human eye. Such algorithms can interfere with the algorithms used in the LPR process.
Milestone recommends that you disable the cameras’ contour, edge and contrast enhancement algorithms
whenever possible.
Automatic compression: High compression rates can have a negative influence on the quality of license plate
images. When a high compression rate is used, more resolution (see Plate width recommendations on page 12) is
required in order to achieve optimal LPR performance. If a low JPEG compression is used, the negative impact on
LPR is very low, as long as the images are saved with a JPEG quality level of 80% or above, and images have normal
resolution, contrast and focus as well as a low noise level.
Acceptable Unacceptable
Installation
l The XProtect LPR plug-in on all computers that run the Management Client and the event server
l Make sure that the user selected for running the LPR Server service can access the management server
Milestone recommends that you install the LPR server on a different computer than your
management server or recording servers.
If you install the LPR server on a different computer, you must add the computer to the
Administrators role as a Windows user. For more information, see Assign/remove users
and groups to/from roles.
Start installation:
l Milestone XProtect LPR Server installer to all computers allocated for this purpose. You can also create
virtual servers for LPR on one computer
During installation, specify the IP address or host name of the management server or image server
including the domain user name and password of a user account that has administrator rights to the
surveillance system.
In the Site Navigation pane, your Management Client automatically lists the installed LPR servers in the
LPR Servers list.
6. Make sure that you have the necessary licenses (see XProtect LPR licenses on page 8).
23 | Installation
Administrator manual | XProtect® LPR 2020 R1
7. All country modules are automatically installed when you install your XProtect LPR product. However, the
installed modules are by default disabled and you must enable the modules (see Country modules tab on
page 34) that you want to use. You can only enable as many country modules as you have LPR country
module licenses for.
If you need to install more LPR servers after the initial installation, run the Milestone XProtect LPR Server installer on
these computers.
24 | Installation
Administrator manual | XProtect® LPR 2020 R1
Configuration
1. In the Site Navigation pane, expand Servers and select LPR servers.Go to the Overview pane.
The LPR server information window opens with a summary of the server status:
l Name
l Host name
l Status
2. Select the relevant LPR server and review all details for this server.
Field Description
Name Here you can change the name of the LPR server.
Shows the LPR server host name.
Host name The first part of the name of the LPR server consists of the name of the host computer
for your LPR server installation. Example: MYHOST.domainname.country.
Shows the status of the LPR server.
l Unknown error
25 | Configuration
Administrator manual | XProtect® LPR 2020 R1
Field Description
Computer CPU
Shows the current CPU usage on the entire computer with the LPR server(s) installed.
usage
Memory
Shows how much memory is available on the LPR server.
available
Recognized
Shows the number of license plates that the LPR server has recognized in this session.
license plates
LPR cameras Shows a list of enabled LPR cameras that run on the LPR server and their status.
LPR cameras Based on your license, this number shows how many additional LPR cameras you are
available allowed to add and use on all your LPR servers in total.
Country Based on your license, this number shows how many additional country modules you
modules are allowed to use on all your LPR servers in total. It also lists the number of country
available modules already in use.
If you use H.264 or H.265 codec, only key frames are supported. This is usually only
one frame per second which is not enough for LPR. For higher frame rates, always
use a JPEG codec.
To learn about LPR fundamentals, make yourself familiar with the information in Preparing cameras for LPR
(explained) on page 9.
26 | Configuration
Administrator manual | XProtect® LPR 2020 R1
Snapshots (explained)
The system uses snapshots to optimize the configuration automatically and to visualize the effect of the
recognition settings as they are applied.
You need to provide at least one valid snapshot in order to complete the initial configuration of a camera.
As a guideline, capture snapshots of vehicles in the real physical surroundings and conditions, in which you want to
be able to recognize license plates.
The list below illustrates examples of the situations that you should consider when you capture and select
snapshots. Not all may be applicable to your surroundings.
Milestone recommends that you select minimum 5-10 snapshots that represent typical conditions of:
Vehicle types; to define the top and bottom of the recognition area
27 | Configuration
Administrator manual | XProtect® LPR 2020 R1
Position in the lane; to define the left and right of the recognition area
Distance to the car; to define the area where LPR analyzes license plates
1. In the Site Navigation pane, expand Servers, expand LPR servers, and select LPR camera.
3. From the menu that appears, select Add LPR camera and follow the instructions in the wizard:
l Select the camera you want to configure for LPR
l Select which country modules you want to use with your LPR camera (see Country modules tab on
page 34)
l Select snapshots to use for validating the configuration (see Snapshots (explained) on page 27)
l Validate the result of the snapshot analysis (see Validate configuration on page 36)
l Select which license plate match lists to use (see License plate match lists (explained) on page 38).
Choose the default selection, if you have not yet created any lists
28 | Configuration
Administrator manual | XProtect® LPR 2020 R1
The LPR camera appears in the Management Client and based on your selections, the system has
optimized the recognition settings for the camera (see Add LPR camera on page 28).
5. Select the camera you have added and review its settings. You only need to change the configuration if the
system does not recognize license plates as well as expected.
6. In the Recognition settings tab, click Validate configuration (see Validate configuration on page 36).
l Change the name of the server or change server (see Info tab on page 29)
l Adjust and validate the recognition settings (see Recognition settings tab on page 29)
l Add more license plate match lists (see Match lists tab on page 33)
l Enable additional country modules (see Country modules tab on page 34)
Info tab
Name Description
LPR cameras are by default enabled after the initial configuration. Disable any
camera that is not used in connection with LPR.
Enable
Disabling an LPR camera does not stop it from performing normal recording in
the surveillance system.
Shows the name of the selected camera as it appears in the XProtect
Camera
Management Client and the clients.
Description Use this field to enter a description (optional).
Click to change LPR server.
Change Server Changing the LPR server can be a good idea if you need to load balance. For
example, if the CPU load is too high on an LPR server, Milestone recommends
that you move one or more LPR cameras to another LPR server.
Change recognition settings manually. Based on the snapshots you provided, the system auto-configured the
recognition settings. Changing these settings can greatly affect the recognition success rate.
29 | Configuration
Administrator manual | XProtect® LPR 2020 R1
Action buttons
Name Description
Recognition area
To ensure best performance and avoid false recognitions, Milestone recommends that you select a clearly defined
and "well-trimmed" recognition area. The area should cover only the part of the image where the license plate is
visible and remains visible as the vehicle moves in and out of the image. Avoid irrelevant moving objects (people,
trees, traffic) in the recognition area (see Positioning the camera on page 10).
l Clear to remove all selections and select new areas for LPR
After changing the settings for your LPR camera, validate your configuration (see Validate configuration on page 36)
to check if the system recognizes license plates as well as expected.
Character height
Define the minimum and maximum height of the license plate characters (in percent). Select character heights as
close as possible to the height of the characters in the real license plate.
30 | Configuration
Administrator manual | XProtect® LPR 2020 R1
These character settings affect the recognition time and process. The smaller the difference between the
minimum and the maximum character height:
The overlay in the snapshot displays the currently defined character height setting. The overlay grows and shrinks
proportionally to the character height settings to the right. For easy comparison, drag the overlay on top of the real
license plate in the snapshot. Zoom with your mouse wheel for a closer look.
Name Description
Set the minimum character height for including license plates in the
Minimum height recognition process. If the real license plate characters are smaller than the
value you specify, the system will not start the recognition process.
Set the maximum character height for including license plates in the
Maximum height recognition process. If the real license plate characters are bigger than the
value you specify, the system will not start the recognition process.
After changing the settings for your LPR camera, validate your configuration (see Validate configuration on page 36)
to check if the system recognizes license plates as well as expected.
Advanced settings
The recognition process has two steps: 1) finding the plate(s) and 2) recognizing the characters in the plates. Click
Advanced settings to define a trade-off between processing speed and recognition quality.
31 | Configuration
Administrator manual | XProtect® LPR 2020 R1
When the optimal results are met, the recognition process stops and returns the license plate it recognized at that
point.
Name Description
If your LPR camera records interlaced video, and you see a combing effect in
Compensate for
the de-interlaced image in LPR, select this check box. This may improve
interlacing
image quality and recognition results.
Limit the number of frames your system processes every second. If you
Maximum number of keep this setting low, you can increase the frame rate on your camera
frames processed per without adding unnecessary load to your LPR server.
second Unlimited: Remove the top limit. You will risk increasing the processing time
and the CPU load.
32 | Configuration
Administrator manual | XProtect® LPR 2020 R1
Name Description
Limit the number of seconds your LPR can spend on recognizing one frame.
Maximum number of If adjusted, the recommended value is 0.2 seconds per frame.
seconds used per frame Unlimited: Remove the top limit. You will risk increasing the processing time
and the CPU load.
Stop recognition when a license plate is recognized with a confidence level
Stop recognition above
equal to or above the value you specify.
Discard recognitions with a confidence level below the value you specify.
Increase this value to get fewer but possibly more accurate recognitions.
Discard recognitions Decrease this value to get more but potentially less accurate recognitions.
below
The smaller the difference between Stop recognition above and Discard
recognitions below values, the lower the processing time and the CPU load.
Recognize several license plates simultaneously. For example, relevant for
Maximum number of cameras recording multi-lane roads, where many license plates must be
license plates recognized recognized at the same time.
per frame Unlimited: Remove the top limit. You will risk increasing the processing time
and the CPU load.
Delay all recognitions for the time period you specify. This is to avoid that the
same license plate is recognized several times as different license plates.
The system will wait for a better recognition and only accept the most
Time span in seconds for complete recognition.
avoiding partial
recognitions Before changing this setting, ensure no irrelevant
moving objects (see Camera angles on page 11) block
the view of your LPR camera.
After changing the settings for your LPR camera, validate your configuration (see Validate configuration on page 36)
to check if the system recognizes license plates as well as expected.
On this tab you select which license plate match list(s) you want a specific LPR camera to match license plates
against. You can create as many lists as you need (see Add new license plate match lists on page 38).
33 | Configuration
Administrator manual | XProtect® LPR 2020 R1
Name Description
All License plates are matched against all available and future lists.
License plates are matched against the selected lists only. Select one or more
Selected
from the available lists.
After changing the settings for your LPR camera, validate your configuration (see Validate configuration on page 36)
to check if the system recognizes license plates as well as expected.
A country module is a set of rules that defines license plates of a certain type and form belonging to a certain
country, state or region.
Already licensed modules appear with a check mark in the Licensed column. If the country module you are looking
for is not on your list, contact your vendor.
34 | Configuration
Administrator manual | XProtect® LPR 2020 R1
Name Description
After changing the settings for your LPR camera, validate your configuration (see Validate configuration on page 36)
to check if the system recognizes license plates as well as expected.
35 | Configuration
Administrator manual | XProtect® LPR 2020 R1
3. In the LPR cameras pane, find and click the camera to modify.
5. In the Time span for avoiding partial recognitions field, drag the slider to the right to give the system a
maximum of five extra seconds to recognize the most complete license plate numbers and discard the
rest.
Select snapshots
When you configured the LPR initially with the Add LPR camera wizard, you also added snapshots (see Snapshots
(explained) on page 27). You can always add additional representative snapshots to improve the optimization of the
configuration.
3. Capture snapshots from live video or import them from an external location. Click Next.
The system analyzes the snapshots you have selected for the camera.
4. On the next page, approve or reject each of the snapshots. If the system could not recognize any license
plates, click Previous to add new snapshots in a better quality. If the system still cannot provide correct
recognitions, you probably need to change your configuration. Check that the camera is mounted and
configured correctly (see Preparing cameras for LPR (explained) on page 9).
5. When you have approved all snapshots, click Next and close the wizard.
6. On the Recognition settings tab, click Validate configuration (see Validate configuration on page 36).
Validate configuration
You can validate your current configuration to see if you need to change any settings or provide more snapshots.
The validation function informs you about how many license plates your system recognizes, and if they are
recognized correctly.
It can help you decide if your confidence level is set correctly and if your system configuration is optimal.
36 | Configuration
Administrator manual | XProtect® LPR 2020 R1
Based on the current settings, the system analyzes the snapshots you have selected for the camera and
provides a result summary:
l License plates detected: The number of recognized license plates, for example, 3 of 3
l Average confidence: The average percent of confidence with which the license plates have been
recognized
l Average processing time: The average time it took to analyze a snapshot and return a reading
measured in ms
4. If you want to investigate the results further, click Next, and you can review the results for each snapshot.
This helps you to identify the situations that cause problems.
You can validate the configuration as many times as you like and on any LPR camera and with different settings.
Auto-configure
Auto-configuration of the LPR camera overwrites any manual changes you have made to the settings. You can
select this option if, for example, you have made manual changes that have not given you good recognition results.
3. Click Close.
5. Review and validate (see Validate configuration on page 36) the new settings.
37 | Configuration
Administrator manual | XProtect® LPR 2020 R1
By default, events are stored for 24 hours. To change this, open the Options dialog box in the Management Client
and on the Event Server Settings tab, in the Keep events for field, enter a new time frame.
After specifying a license plate match list, you can set up additional events and alarms to be triggered on a match.
Examples:
l A company headquarter uses a list of executive management's company car license plates to grant
executives access to a separate parking area. When executives' license plates are recognized, the LPR
solution triggers an output signal that opens the gate to the parking area
l A chain of gas stations creates a list of license plates from vehicles that have previously left gas stations
without paying for their gas. When such license plates are recognized, LPR triggers output signals that
activate an alarm and temporarily block the gas supply to certain gas pumps
Triggered events can also be used for making cameras record in high quality or similar. You can even use an event
to trigger combinations of such actions.
Example: A private car park uses a list of license plates to grant residents' vehicles access to the car park. If a
vehicle with a license plate that is not in the list approaches the car park, the LPR solution triggers an output signal
which lights a sign telling the driver to obtain a temporary guest pass from the security office.
To trigger a surveillance system event, when a license plate that is not on a list is recognized, use the Unlisted
license plates list. You select it for a camera like any other list (see Match lists tab on page 33) and set it up like any
other list (see Events triggered by LPR on page 41).
2. In the window that appears, give the list a name and click OK.
As soon as you have created a license plate list, it becomes visible in the License plate match list and on
the Match lists tab for all your LPR cameras.
38 | Configuration
Administrator manual | XProtect® LPR 2020 R1
3. If you want to add columns to the match list, click Custom field and specify the columns in the dialog box
that opens (see Edit custom fields properties on page 41).
4. To update the match list, use the Add, Edit, Delete buttons (see Edit license plate match lists on page 39).
5. Instead of defining the match list directly in the Management Client, you can import a file (see
Import/export license plate match lists on page 39).
4. To include new rows to your list, click Add and fill out the fields:
l Do not include any spaces
l You can use wildcards in your license plate match lists. Do this by defining plates with a number of
?'s and the letter(s) and/or number(s) which must appear at specific places
This is useful if, for example, the lists are managed from a central location. Then all local installations can be
updated by distributing a file.
Similarly, you can export the complete list of license plates from a match list to an external location.
To import:
1. In the Site Navigation pane, click License plate match lists and select the relevant list.
3. In the dialog box, specify the location of the import file and the import type. Click Next.
39 | Configuration
Administrator manual | XProtect® LPR 2020 R1
To export:
2. In the dialog box, specify the location of the export file and click Next.
3. Click Close.
4. You can open and edit the exported file in, for example, Microsoft Excel.
Name Description
Name Shows the name of the list. If needed, you can change the name.
Click to specify which license plate entry columns that you or the client user can add
Custom fields additional information to. See Custom fields (properties) in Edit custom fields
properties on page 41.
Search the list for specific license plates, numbers, patterns or similar. If needed, you
Search
can use ? as a single wildcard
Click to add a license plate.
l You can use wildcards in your license plate lists. Do this by defining plates with a
number of ?'s and the letter(s) and/or number(s) which must appear at specific
Add places
Some regional areas might have exceptions to these rules. For example, personalized
plates with spaces. Plates with two sets of characters which must be recognized
separately by an underscore character ( _ ). Or plates from certain regions with letters
on a different background color on parts of the license plate.
Example:
Edit Click to edit a license plate. You can select multiple rows for editing.
Delete Click to delete the selected license plate(s).
Click to import license plates from any comma-separated file, for example a .txt-file or
Import
.csv-file (see Import/export license plate match lists on page 39).
Click to export the entire license plate list to a comma-separated file, for example a .txt-
Export
file or .csv-file (see Import/export license plate match lists on page 39).
40 | Configuration
Administrator manual | XProtect® LPR 2020 R1
Name Description
Select how many license plates to display in one page (one screen). You can choose
Rows per page
between 50 to 1000 rows.
Events Select which event(s) should be triggered by a list match (see Events triggered by LPR
triggered by list on page 41). You can choose between all available types of events defined in your
match system.
The XProtect Smart Client users can update the information in the columns but not the columns themselves.
Name Description
Add Adds a column to the match list. Enter a name for the column.
Edit Click to edit the name of the column.
Delete Deletes a column.
Up Changes the order of the columns.
Down Changes the order of the columns.
The type of events available depends on the configuration of your system. In connection with LPR, events are used
to trigger output signals for, for example, raising of parking barrier or making cameras record in high quality. You
can also use an event to trigger combinations of such actions. See License plate match lists (explained) on page 38
for more examples.
1. Expand Servers, click License plate match list and select the list to which you want to associate an event.
2. In the License plate match list information window, next to the Events triggered by list match selection
field, click Select.
3. In the Select triggered events dialog box, select one or more events.
5. The event is now associated with recognitions on the selected license plate match list.
41 | Configuration
Administrator manual | XProtect® LPR 2020 R1
To trigger a surveillance system event, when a license plate that is not on a list is recognized, configure the
Unlisted license plates list.
1. Create the license plate match list (see Add new license plate match lists on page 38) you want to match
license plates against.
2. Add and configure your LPR camera(s) (see Add LPR camera on page 28).
3. In the Site Navigation pane, expand Alarms, right-click Alarm Definitions and select to create a new
alarm.
4. The Alarm Definition Information window appears. Select the relevant properties (see Alarm definitions
for LPR on page 42).
6. Configure the alarm data settings for LPR (see Alarm data settings for LPR on page 42).
To define triggering events related to LPR, select the event message to use when the alarm is triggered:
1. In the Triggering events field, in the top drop-down list, decide what type of event to use for the alarm.
The list offers License plate match lists and LPR server events (see Working with license plate match lists
on page 38).
2. In the second drop-down list, select the specific event message to use. If you selected License plate
match lists in the drop-down above, select a license plate list. If you selected LPR server, select the
relevant LPR server event message:
l LPR camera connection lost
For information about the remaining alarm definition settings, see the Alarms section.
42 | Configuration
Administrator manual | XProtect® LPR 2020 R1
These two elements are used for configuring alarm lists in the Alarm Manager tab in XProtect Smart Client. The
relevant elements are Object, Tag, and Type, which are essential for recognizing license plate numbers (Object)
and country codes (Tag).
1. In the Site Navigation pane, expand Alarms, select Alarm Data Settings.
2. On the Alarm List Configuration tab, select Object, Tag, and Type and click >.
43 | Configuration
Administrator manual | XProtect® LPR 2020 R1
Maintenance
l Access LPR server state information via the LPR Server Manager tray icon in the notification area of the
computer running the LPR server
In the Management Client, you can get a full overview of the status of your LPR servers (see View LPR server
information on page 25).
2. From the menu that appears, select Start LPR Server service.
3. If needed, select Stop LPR Server service to stop the service again.
2. From the menu that appears, select Show LPR server status.
If the system is running without problems, the status is: All LPR cameras running.
l Unknown error
44 | Maintenance
Administrator manual | XProtect® LPR 2020 R1
2. From the menu that appears, select Show LPR server Log File.
If you need to change the address of the management server, do the following:
1. Stop (see Start and stop LPR Server service on page 44) the LPR Server service.
3. From the menu that appears, select Change settings. The LPR Server service settings window appears.
45 | Maintenance
Administrator manual | XProtect® LPR 2020 R1
Upgrade
If you upgrade from XProtect LPR 1.0 to XProtect LPR 2016, some recognition settings are not compatible with
those from the previous configuration. To apply the new settings, you must save your configuration. The settings
that previously allowed you to flip, rotate and invert the colors of the video have been removed. If you still need
these functions, you must change the settings on the cameras themselves.
l On the computers where the XProtect LPR plug-in is installed, uninstall Milestone XProtect LPR [version] Plug-in
l On the computers where the XProtect LPR server is installed, uninstall Milestone XProtect LPR [version] Server
46 | Upgrade
[email protected]
About Milestone
Milestone Systems is a leading provider of open platform video management software; technology that helps
the world see how to ensure safety, protect assets and increase business efficiency. Milestone Systems
enables an open platform community that drives collaboration and innovation in the development and use of
network video technology, with reliable and scalable solutions that are proven in more than 150,000 sites
worldwide. Founded in 1998, Milestone Systems is a stand-alone company in the Canon Group. For more
information, visit https://www.milestonesys.com/.