How to setup license plate recognition successfully

How to setup license plate recognition successfully

Introduction

We transform your cameras into intelligent machines capable to identify license plates of a passing vehicles.

The License Plate Recognition (LPR) feature allows you to identify license plates on a passing vehicles using video streams from your cameras. The recognized plates are then stored in a database, allowing you to create smart alerts and automations based on LPR events. Each record includes the time and date of recognition, license plate number, confidence level, camera ID, and links to the corresponding video archive files. This valuable information enables users to efficiently review and access specific footage through our user-friendly portal.

To achieve reliable License Plate recognition, it is required to properly place and configure the camera, enable and adjust appropriate event detection on the camera. Any of the camera modules that generate events can be used and the best option (simple motion detection, line crossing, intrusion, etc.) will depend on the specific scene conditions and camera positioning.



Requirements and recommendations


Step 1: Camera selection

Almost any modern camera can be used for LPR though the best results will be achieved with models that allow you to control image settings such as shutter speed, frame rate, and bit rate manually or semi-automatically (when you can set a range of min and maximum parameters for the camera). Additionally, the combination of lens and resolution should be chosen to ensure that the captured license plate has a minimum width of 100 pixels. For example, even a 720p camera can be suitable when paired with a narrow lens, whereas a 4K fisheye camera positioned 15 meters away would not provide sufficient clarity.




Step 2: Camera placement considerations

When considering camera placement for license plate recognition, it is recommended to install them at entrance checkpoints or driveways where vehicles are required to pass in front of the camera. For optimal visibility of license plates, position the cameras at road level or at a slight angle above the typical height of a car. It is important to ensure that the typical path of vehicles driving near the camera directs them toward or from the lens, encouraging direct engagement with the camera, even if only for a brief moment. Depending on the laws in your area the front license plate might be not required and in such a case the camera should be positioned in such a manner that it is guaranteed to capture the rear of the vehicle. This positioning maximizes the chances of capturing clear and readable license plate images.


In the above example the camera is positioned well, it is positioned just slightly above the car height level and cars are coming in and out from and to the parking area



Step 3: Lighting considerations

  • A car's License Plate must be adequately illuminated preventing over or underexposure to the picture. Avoid areas where the car's Plate will be illuminated by direct sunlight, or scenes with high contrast: like indoors parking near big windows, or long corridors with one light source at one end, places with constant changes in illumination due to automatic lights or upon garage-door opening. Uniform and constant illumination of the Plates to be recognized is required for reliable recognition. Avoid bright spotlight sources this will create sharp shadows. Diffused and soft light sources are recommended.
  • If the camera has to be installed against the light source, a bright object on the background (for example, the sun behind the entrance) the camera exposure (or brightness) should be set to be above the default (automatic) value overexposing background to ensure that the plate in the frame becomes lighter and text is readable.
  • Also note that some features of the cameras (WDR, Backlight compensation, Highlight compensation, etc.), typically result in blurry frames. Check how these features influence the final image quality, specifically how sharp and contrasting the moving vehicle is. It is better to have under/overexposed areas in the image with sharp license plate text than even lighting but a blurry plate.


Step 4: Camera setup

  • The camera resolution and the lens must ensure that the car's plate is at least 100 pixels across when passing under the camera, for a more reliable recognition 150+ pixels is recommended. For low-resolution cameras, this means that car must pass closer to the camera or a zoom lens must be used. 
  • The recommended camera frame rate is between 8 and 15 fps (frames per second) for slow-moving vehicles but must be increased to compensate for speed if the recognition is required over a road with high-speed limits. The rule of thumb is that the plat should be visible on at least 5 frames.
  • The camera must have the capability of exposure adjustment to avoid getting blurry images of passing cars. The minimum shutter speed should be limited to 1/100 at most, recommended is 1/150 of a second or faster. The priority between the shutter speed and the aperture must be given to the shutter speed, in some models, this is controlled by the sharpness/smoothness settings, sharpness should be given the priority. This means that it is preferable to get a darker image than a blurred one. Depending on the camera manufacturer this setting can be called “Allow low shutter” or the limitation of the “maximum exposure” set this to 1/100 or less. The cameras without this capability will result in a blurry image that may look better in motion, but the stop-frames will be blurry decreasing the accuracy of plate recognition or even making it impossible to recognize a license plate. The increased sharpness on the camera leads to significant visual noise, which results in false triggering of the motion detector, to avoid this provide better illumination at the camera location.



    • Related Articles

    • How to setup Face Recognition successfully

      Introduction We transform your cameras into intelligent machines capable to identify any person of interest. The Face Recognition (FR) feature allows you to identify persons using video streams from your cameras. Recognized faces are compared with ...
    • Optimal Camera Image Setup to Improve Object Recognition Accuracy

      The proper camera setup is crucial to achieving good recognition results. Poor contrast, low resolution, bad camera positioning, and/or foliage blocking are the most common reason for poor smart analytics performance. Camera Resolution The minimum ...
    • Face Recognition Requirements Manual

      Find the Downloadable PDF manual below: Face Recognition Requirements Manual
    • Individual Cameras - Camera Analytics Setup

      Camera Analytics is an extremely important area of Camera Configuration. This is where the true value is built for a customer by giving him power over notifications, what they are notified about, and what real estate in the camera field of view they ...
    • What is the Bandwidth Requirement per Camera or Per Site?

      These requirements will depend on the camera manufacturer and expected video quality. In some cases, camera will provide enough details at 100 Kbits/sec but in other situations even 2 Mbits/sec would be not enough. Typically, we recommend at least ...