VCloud.ai License Plate Recognition VCA

From vCloud.ai Documentation
Revision as of 10:36, 31 May 2022 by Vcloudai (talk | contribs)
Jump to navigation Jump to search

Vehicle License Plates Recognition Module

Main functionality:

  • License plates recognition accuracy up to 99%.
  • ANPR system can read license plates of vehicles traveling at speed up to 250 km/h.
  • Recognition of vehicle brands, models, and colors with accuracy 95%.
  • More than 60 countries supported.
  • Support for one- and two-line, regular, reverse, and special types of license plates.
  • Real-time notifications based on alarms from recognized license plates.
  • Notifications in Telegram, by SMS or email.
  • Restricted access to notifications for a pre-defined group of users.
  • Unified database of registered vehicles.
  • Ability to build reports on an hourly, daily, weekly, or monthly basis.
  • Support for import (CSV) and export of vehicle databases (EXCEL, PDF, CSV, JSON).

Camera Installation Guidelines

The detection rate and accuracy of an ALPR system strongly depend on the quality of the images captured by the camera. Main condition is that the camera should capture images of license plates with close to perfect sharpness and contrast, day and night and in different weather conditions. This manual describes the key requirements for license plate recognition including hardware, installation, and configuration.

It is recommended to minimize the angle between the camera and the travel direction of the car, as shown in Picture 1. Ideally, you should place the camera right above the vehicles, or not too high. It is, however, a good idea to place the camera higher than the car headlights, to avoid blinding the camera with strong light.

Picture 1

Pic 1.png

The total angle between the camera and the travel direction of the car can be estimated from Tables 1 and 2. We recommend keeping the total angle below 30°.

Table 1.

Image 2.png

Table 2.

Table2.png


Camera alignment

The camera should be pointed at the road so that the relevant lanes are centered in the image. It should be zoomed in to cover the required number of lanes. The roll angle of the camera should be adjusted so that the license plate is parallel to the edges of the image, see Picture 2. Picture 2.

Pic2.png

The distance between the camera and the road part that it captures is called the capture distance, shown in Picture 1. The capture distance should be chosen carefully since it will influence, in several ways, the possibility to detect license plates. We will show different parameters that affect the choice of capture distance.

The camera needs to be well focused so the captured license plates would be well readable. The image is, however, sharp not only at one specific distance but in a range of distances around the focal plane, as illustrated in Picture 3. The size of this range is called the depth of field (DOF). The DOF is normally larger for a longer capture distance. The DOF can be increased by reducing the size of the iris aperture. This is only necessary for short capture distances, below 10 m when the DOF is small. Reducing the iris aperture should be done carefully since it limits the low-light performance of the camera.

Picture 3.

Pic3.png


Detectable range

The detectable range is the range of distances along the road where the license plate is visible and readable in the image, see Picture 4. Ideally, the detectable range is the full field of view of the camera, but this is not always the case. The detectable range can be limited by the depth of field of the camera, and vehicles that are far away are sometimes too small for processing by the image sensor.

Picture 4.

Pic4.png

Weather conditions such as snow, rain, and fog can severely limit the visibility at long capture distances and hence limit the detectable range.

In the daytime and in good weather conditions, the detectable range increases with longer capture distance. For vehicles moving at high speed, it is necessary to use a long capture distance, to have enough time to read the license plate before the car exits the field of view.


Recommended capture distance

Table 3 shows the recommended minimum capture distance depending on the speed of the vehicles. The numbers are based on an estimated detection time of 0.2 s, which means that the ALPR analytics software can analyze five frames per second. Note that the number of analyzed frames per second can vary in different processors, and also depends on the resolution of the images. The table is just an example.

Table 3.

T3.png

At night, the maximum possible capture distance is often limited by IR reach. The IR reach can be improved by using more powerful external IR sources.

IR light

Capturing license plates at night requires artificial lighting. Normally, infrared (IR) light is used since it is invisible to the eye and will not blind the drivers. Most license plates are IR reflective, and IR light will increase the visibility and contrast of the plate in darkness or cloudy weather. The IR light can come from LEDs built into the camera, or from IR sources that are external to the camera.

The intensity of light decreases with the distance, squared, to the light source. For a reflective object, such as a license plate, this leads to the fact that each doubling of the distance between the light source and the object will require a fourfold increase in IR power, in order for the object to keep the same visibility.

If the IR reach is not enough with the built-in LEDs, or if a camera does not have built-in IR LEDs, external IR can be used. The light cone of the IR source should match the field of view of the camera, at the relevant zoom level. License plates are made from retro-reflecting material, which means that they reflect light straight back where it came from, no matter at which angle the light hits the plate. When using an external IR source, the reflected IR light will come back towards the source, as illustrated in Picture 5.

Picture 5.

Pic5.png

External IR sources need to be placed close to the camera so the reflected light hits the camera. Picture 5 shows the relative contrast of a license plate 10 m away, as a function of the distance between the camera and the external IR source.

The IR source should be aligned parallel to the camera, ensuring that the light shines on the part of the road that is in the camera’s field of view.

Camera settings

Specialized license plate cameras are built with suitable default settings and require a minimum of tuning. For other cameras, the following settings might need to be applied.

Max shutter speed

Vehicles that are moving fast may cause motion blur, as shown in the Picture 6 if the shutter speed of the camera is too high. The maximum shutter speed depends on the alignment of the camera as well as the speed of the vehicles.

Picture 6.

Picture6.png

Car that is approaching the camera will get larger as it approaches. But once there is an angle between the camera and the direction of movement, the car will move laterally in the image at a speed that depends on the angle. Lateral movement will result in motion blur at a normal shutter speed of about 1/30 sec., so the max shutter speed needs to be limited. Table 4 shows the recommended maximum shutter speed depending on the angle between the camera and the direction of travel of the vehicle, as well as the speed of the vehicles. The camera angle can be estimated from tables 1 and 2.

Table 4.

T4.png


1 ms = 1/1000s

Note that the camera will collect more light at a faster shutter speed, which increases the IR range. For example, by setting the camera at a 5 ° angle instead of a 20 ° angle, the shutter speed can be increased four times, which will double the IR range.

Max gain

Since the license plate is made of reflective material, it will glow brightly when exposed to intense infrared light. Objects around will be much darker as they reflect much less light. As a result, license plate gets overexposed and impossible to read.

The simplest way to avoid overexposing the license plate is to limit the max gain of the camera, as shown in Picture 7.


Picture 7.

Picture7.png

Maximum gain set up depends on the available IR intensity, distance to vehicles and camera sensitivity. Anywhere between 9dB and 21dB gives reasonable results when using built-in IR.


WDR

Wide dynamic range (WDR) includes various methods for increasing the dynamic range of an image. WDR is very useful for highlighting details that might otherwise be hidden in shadows, or for preventing strong light from “blinding” the camera.

But WDR can cause motion artifacts in images of moving vehicles, depending on how WDR is implemented in a particular camera. We recommend to switch WDR off for license plate capture.


Product Description

ANPR module is designed to collect and store data about vehicles as well as automatic recognition of license plates in the traffic conditions and parking.

Basic data used by module:

  • Date and time of vehicle presence at certain section;
  • Frame with the vehicle as evidence (photo fixation);
  • Recognition of the model and color of the vehicle;
  • Direction of vehicle movement and route determination.

All information about vehicle is stored in the database: date and time, frame with the car, license plate and vehicle model, color, the direction of movement, route.

ANPR module can be used for:

  • Searching in the database of wanted vehicles;
  • Automatic detection of vehicles belonging to employees of the company;
  • Gate automation scenario;
  • As part of traffic rule violation detection system.

System requirements

Below are minimum system requirements for license plate recognition based on GPU for 1 video stream.

Parameter Recommended value
CPU Intel Core i5-5575 or higher
RAM 2 GB RAM (+1GB make and model recognition)
GPU NVIDIA 1050
Places for archive up to 5 GB per day
Operating system Ubuntu 18.04

Analytics

To get started with ANPR analytics, click LPR in the left menu and then click analytics.

Picture8.png


Adding analytics

The page displays a list of cameras with the status and the ability to edit, add, or delete analytics. In order to add a new license plate analytics, press Add Analytics in the upper-right corner of the screen.

Pictur9.png

When you click on the "Add analytics" button, the form for adding analytics opens.

Picture10.png
Field name Description
Video Select the camera name from a drop-down list.  Video stream will be used to create analytics.
Detection zone License plates will be recognized in the red zone. You can reduce enlarge or move recognition zone
Frames to detect The minimum number of frames for license plate recognition. Possible range from 1 to 100
Min plate width The minimum license plate width for recognition is 60 pixels
Min plate height The minimum license plate height for recognition is 15 pixels
Picture11.png
Field name Description
Hardware For hardware acceleration, select CPU or GPU
Decoding Select the hardware decoder from the drop-down list - CPU, Intel, Nvidia
Optimization For hardware acceleration, select one of the technologies.
Frames to detect The minimum number of frames for license plate recognition. Possible range from 1 to 100
Picture12.png
Field name Description
Send events to event manager Fill in the checkbox "Send events to event manager " to create your own event for notifications sending. If necessary, it is possible to add additional parameters for further use when event is being created. Fill in the parameter fields. To add parameters, press the "+" button
Vehicle without number Send notification upon detection of vehicle without license plate
Blur plate number in preview mode Send notification to preview image if plate number blurred

Camera search

Search field is located at the top of the Analytics page. To find the required camera enter the name or/and status of camera.

Pictiure13.png


Starting and stopping analytics

To start analytics, press Start button on the right side with the analytics name field. To stop analytics, press Stop.

Picture15.png


Editing analytics

To open the license plate analytics editing window, press the Editor button on the right side of the license plate analytics page.

Picture16.png

By clicking the Editor icon, the page for license plate analytics editing will load.

If analytics is already running before editing it is required to stop the analytics.

Picture19.png


Viewing analytics

To view analytics, press the view icon on the right side.

Picture20.png

It is possible to view only active video streams. In the opened window you can view the video from the camera in real-time mode.

Pict21.png

There are records of recognized vehicles in the lower part of the window, which include license plate, model, and date of event.

Pict22.png

Click on the vehicle number in the table to view information about that vehicle.

Pict23.png

To view a different record, click Previous post or Next post.

To download an image of a recognized vehicle, press Save image.


Deleting analytics

To delete one of the cameras, click on the delete icon on the right side of the analytics field.

Pict24.png

Search

Search Parameters

In order to perform a vehicle search, select LPR in the left menu and click on Search.

Pict25.png

There are recognized vehicle search parameters available at the top of the screen.

Pict26.png


Search field Parameters
License plate number Enter vehicle license plate number in the field to search for detected license plates
Time frame Select time period you want to search for
Camera Select the cameras you want to search for, or check the Select by radius box. In the window that opens, set the area. The search will be performed by cameras in the selected area.
Color Select the desired vehicle color in the field
Make Select the vehicle brand
Model Select the vehicle model
Country Select the country of recognized license plate number
Direction Select the direction of movement of the car

Click on Search to display search results. Click on Reset to clear the input fields.

Search Results

Search results are shown in the picture below. The list consists of the following fields: number, list, make, CCD (country, color, direction), date, camera.

Pict27.png


List

In the list field, when you click on Add to the list, small window opens up where you can add recognized license plate to the one of existing lists.

Pict28.png
Field Name Description
Notes Enter the text of notification that will be sent when the vehicle is detected
List Select specific list where you want to add the number


Camera

When you click on Route icon, a window will open up with the statistics of vehicle movement. When you click on the Map icon, a window will open up showing the camera location.

Pict29.png


Photo of the car with recognized license plate

On a right side of your screen, you can see picture of the car captured by camera along with the recognized license plate.

Product Description

Analytics

Search

Lists

Events

Recognition Statistics

Lists Statistics

Camera Installation Requirements