Milesight-Troubleshooting-ANPR Solution
Milesight-Troubleshooting-ANPR Solution.pdfI. What is ANPR
ANPR(Automatic Number Plate Recognition) is a technology that uses optical character recognition on images to read vehicle registration plates. For Milesight, the ANPR algorithm is embedded in cameras, which allows the cameras to recognize, capture and upload license plate images all alone and intelligently.
II. Why Milesight ANPR Solution
Quick Capture & Accurate Recognition
• Accurate License Plate Identification Under all kinds of conditions
• High-reliability License Plate Recognition with more than 95% high performance accuracy
1. Up to 4 Detection Regions
2. Reliable Confidence Level
3. Vehicle Direction Recognition
4. Detection Regions of PTZ
5. DACH Region Recognition
Intelligent Analysis & Efficient Management
• White and Black List Management
• A Stand-alone ANPR Solution
• Fully Integrated with Milesight NVR/CMS
• 3rd Integration: CGI
Adaptable to Most Operation Requirements
• Max recognition speed 120 km/h
• Over 70 countries and regions
• Various options
LPR 12X H.265+ AF Motorized Pro Bullet Network Camera
LPR 12X H.265+ Mini PTZ Bullet Network Camera
LPR 12X H.265+ ABF Pro Box Network Camera
LPR 12X H.265+ Mini Bullet Network Camera
LPR 12X H.265+ Vandal-proof Motorized Mini Bullet Network Camera
LPR 12X H.265+ Motorized Pro Bullet Network Camera
Notes:Installation Angle Considerations
To increase the accuracy of license plate recognition, be sure to install the LPR cameras properly to capture the license plates with the correct image size, lighting conditions and camera angle. The following highlights is the precautions of installation angle:
A: Installing the camera in front of the vehicle (Recommended):
The captured image should be filled with a full width of the vehicle.
B: Installing the camera slightly to the side:
To avoid capturing unnecessary contents in the image, the camera should be installed in a higher position(Vertical angle is less than 30°; Horizontal angle is no more than 30°; Tile angle is less than 5°) to capture the front part of the vehicle.
III. Countries/Regions that support ANPR
Currently, we have three kinds of LPR, including LPR1, LPR2 and LPR3. LPR1 is used in Asian region, LPR2 is for European region, and LPR3 is for Korea. It covers over 70 countries and regions.
LPR1:
LPR2:
CIS (former Soviet Union)
IV. How to set ANPR with Milesight Network Cameras
1. Settings
Step1: Go to "Advanced Settings" → "LPR" → "Settings" after log in the web. Check the checkbox “Enable License Plate Recognition”, and you can draw the screen to select the areas interested. There will be shown in the blue box as below.
[License]: A license will be automatically assigned to each device.
[License Status]: This column is used to display the status of the license, "Valid" or "Invalid".
[Processing Resolution]: Default resolution selected is 1280*720. You can choose different resolution according to the network environment.
[Set LPR Detection Region]: You can set up to 4 ROI areas by drawing the screen. If you choose Normal Mode, it supports configuring the LPR detection regions for the current area. If you choose Advanced Mode(Only for PTZ series), it supports configuring different LPR detection regions for different PTZ presets(Only support Preset 1~4 so far).
Note:• The optimal interval of Milesight LPR cameras to recognize license plates width is within 100-200 PX.
• For better performance, please choose the appropriate resolution in advance.
[LPR Night Mode]: Achieve the best effect of LPR night recognition by adjusting different parameter levels. You can also schedule the Start Time and End Time, and adjusting the level according to the environment.
Step2: Schedule Settings. You can draw the schedule by clicking [Edit] button. And then click [Save] or [Reset] after finishing the setting.
Step3: Detection Settings and LPR Message Post Settings.
[Detection Trigger]: If you choose “Always”, camera will always detect the license plate. If you choose “Alarm input”, camera will only detect the license plate when Alarm Input is being triggered.
[Confidence Level]: You can set the confidence level from 1 to 10. When the confidence level of the license plate is higher than the set confidence level, it will push the license plate image to the logs interface..
[Repeat Plate Checktime]: Set the time interval for repeatedly reading license plates to effectively avoid duplicate identification of parking vehicles.
[License Plate Serial Format]: Formulate identification rules and automatically filter wrong license plate information to achieve more intelligent and accurate license plate recognition.
[Feature Identification]: Check Region, Direction, ROI_ID or All to enable Features Identification, it will display the corresponding information on the logs interface.
Note: Region detection only supports DACH region.
[LPR Message Post Settings]: Check the checkbox to enable LPR Message Post. It will push information to some third-party devices or software that are compatible with ours. Information can be pushed by RTSP, TCP or HTTP.
More information about LPR Message Post, please refer to Milesight-Troubleshooting-Integration between LPR Camera and NVR(VMS).
Step4: Don’t forget to click [Save] after finishing all settings.
2. List Management
Add the license plates to this interface as Black or White type (Black/White List), and then you can set the alarm action for these license plates in the corresponding black list mode or white list mode interface. When these license plates are detected, the camera will respond to your settings accordingly.
[Add License Plate]: Select the license plate type as black or white, enter the license plate number, click the “Add” button, the license plate number will be added successfully.
[Batch Upload]: You can add a csv file of the license plates you want to add, click the “Browse” button to import the form to this interface, click the "Upload" button, the license plates will be added successfully.
Note:• You can first download the template as a reference in this interface.
• It allows to add 1000 license plates to Black and White List.
[List Search]: Select Plate Type or directly enter the license plate number, click the “Search” button, the corresponding license plate will be displayed in the list as below.
[Export List]: Click the “Export List” button to export the license plates in the current list as a csv file locally.
[Delete List]: Click the “Delete List” button to delete all the license plate in the current list.
3. Black/ White/ Visitor List Mode
Step1: Check the checkbox to enable Black List Mode.
Step2: Schedule Settings. You can draw the schedule by clicking Edit button.
Step3: Set Alarm Action.
Step4: Set Alarm Settings.
After that, when a license plate marked as “Black”, “White”, “Visitor” is detected, the camera will respond accordingly to your settings.
4. Professional LPR Liveview Interface
Milesight LPR camera supports professional LPR Live View interface. You can see the real-time license plate recognition results.
Note:(1) Upgrade your device to corresponded firmware version.
Camera: V4X.7.0.74 or above.
Firmware download link: http://www.milesight.com/support/download#firmware
(2) If there is no SD card or NAS as the storage space, the snapshots of license plate will be temporarily stored locally on the PC, cleared after logging out, and do not support Smart Search which will be introduced in the next part.
5. Smart Search
Step1: Select Plate Type or directly enter the license plate number.
Step2: Select Start Time and End Time, click the “Search” button to achieve fuzzy search, then the corresponding license plates or license plates containing search keywords will be shown on the logs while the complete video and license plate information will be shown on the left of the interface.
Step3: Set Alarm Action.
There are two methods to backup LPR logs.
(1) Backup license plates you want.
Step1: Tick license plates you want to backup and click “Backup” button ;
Step2: Select the export file type, video stream type and video file format, then click “Export” button.
(2) Backup all.
Step1: Click “Export All” button;
Step2: Select the export file type, video stream type and video file format, then click “Export” button.
You can also click the "Auto Export" button to automatically export the logs to FTP, SMTP or Storage.
Note:(1) Insert available SD card or add NAS to camera as storage. Otherwise, you can’t check the LPR recording and snapshots.
(2) Upgrade your device to corresponded firmware version.
Camera: V4X.7.0.74 or above.
Firmware download link: http://www.milesight.com/support/download#firmware
V. How to set ANPR with Milesight NVRs
1. Preparation
Here are some notes you should notice before using ANPR function.
(1) Insert available HDD or add NAS to NVR as storage. (Otherwise, you can’t check the recording and logs.)
(2) Upgrade your device to corresponded firmware version.
Camera: V4X.7.0.72-r16 or above.
NVR: V7X.9.0.7-r7 or above.
Firmware download link: http://www.milesight.com/support/download#firmware
(3) Ensure your device support LPR/ANPR function.
Model of NVR:
• MS-N1009-UT / MS-N1009-UNT
• MS-N5008-UT / MS-N5016-UT
• MS-N7016-UH / MS-N7032-UH (16 ANPR Channels)
• MS-N8032-UH / MS-N8064-UH (16 ANPR Channels)
• MS-N1009-UPT
• MS-N5008-UPT / MS-N5016-UPT
• MS-N7016-UPH / MS-N7032-UPH (16 ANPR Channels)
Name of LPR Camera:
• LPR H.265+ Mini Bullet Camera
• LPR H.265+ Vandal-proof Motorized Mini Bullet Camera
• LPR H.265+ Pro Box Camera
• LPR H.265+ Motorized Pro Bullet Camera
• LPR H.265+ AF Motorized Pro Bullet Camera
• LPR H.265+ Mini PTZ Bullet Camera
(4) Ensure that NVR can get license plate information. Please set TCP as Post Type which is the default mode. It can be set in Camera web page -> Advanced Settings -> ANPR -> Settings interface.
2. Settings
Step1: Go to “Event”->“ANPR”, select a channel and enable ANPR function.
[License]: A license will be automatically assigned to each device.
[License Status]: This column is used to display the status of the license, "Valid" or "Invalid".
[Processing Resolution]: Default resolution selected is 1280*720. You can choose different resolution according to the network environment.
Step2: Set ANPR function effective time. You can draw the schedule by clicking “Edit” button. Draw the schedule and then click “OK” or “Apply” after finishing setting.
Step3: Set detection parameters including Detection Trigger, Repeat Plate Checktime and Features identification.
[Detection Trigger]: Always and Alarm Input are available. It will only detect when alarm input is triggered if you select Alarm Input.
[Confidence Level]: You can set the confidence level from 1 to 10. When the confidence level of the license plate is higher than the set confidence level, it will push the license plate image to the logs interface..
[Repeat Plate Checktime]: The same license plate information won’t be received on NVR within the time you set.
[Feature Identification]: Check Region, Direction, ROI_ID or All to enable Features Identification, it will display the corresponding information on the logs interface.
Notes: Region detection only supports DACH region.
Step4: Set the detected ROI region which can be up to 4 regions. License plate will only be detected in the ROI regions.
3. List Management
Make a license plate list for your own NVR ANPR system.
Upload license plates and set them with different license type here. 10000 License plates can be added at most.
Kindly note that the list is exclusive for NVR, working with all LPR cameras you add. It won’t synchronize with the list on camera side.
There are two methods to add license plates:
(1) Add one by one.
Step1: Click the "Add" button.
Step2: Input the license plate and select license type.
Step3: Click OK and then the license plate will be added into the list.
(2) Batch upload by importing template.
Step1: Click Download Template button, select USB device folder and click OK to download Template.
Step2: Input all license type and license plate number as Template shows.
Step3: Click Import button, select the file and click OK to add all license plates into list.
4. Black/White/Visitor List Mode
We provide you three modes for better event management.
Black List Mode: Manage event for license plates in black list.
White List Mode: Manage event for license plates in white list.
Visitor Mode: Manage event for those license plates do not have license type.
Steps for settings:
Step1: Enable Black List Mode/White List Mode/Visitor Mode as your demand.
Step2: Set effective time for the mode to work.
Step3: Set actions you need including Audible Warning, Email Linkage, Event Popup, PTZ Action, Alarm Output and Trigger Channels Record.
Notes:Do not forget to enable these modes, set effective time and record action for corresponded mode, so that you can get real-time video when license plate is detected (Effective time and record action is enabled by default.). You can refer to How to check ANPR record part for detailed record settings.
5. Professional LPR Liveview Interface
At the beginning, you need to switch the preview mode to ANPR mode.
There are two methods to enter live view ANPR Mode:
(1) Right click the mouse and select ANPR Mode as preview mode.
(2) Select ANPR Mode on live view bottom tool bar.
After entering ANPR mode, the real-time license plate information will be shown on the left of the interface once it get detected.
License plate information includes Plate Snapshot, Channel Name, License Plate Number, Detected Time and Plate Type.
Two License types:
No License plates type will be shown if the license plate does not exist in Black/White list. However, you can right click the license plate information to quick add it to Black/White list or delete it from Black/White list.
Besides, you can click the license plate information to check the latest X seconds (10s~20s) video.
Notes:• X = 10 + Pre Record Time
You can set Pre Record Time in Storage -> Video Record -> Record Settings interface.
• Make sure that HDD is available on NVR and correct record settings is made, so that you can check the record on live view. Please refer to How to check ANPR record part for detailed record settings.
• Make sure that NVR can get the license plate information. Please set TCP as Post Type which is the default mode. It can be set in Camera web page -> Advanced Settings -> ANPR -> Settings interface.
6. Set/Check ANPR Record
Before checking recording files, please make sure that you have proceed correct settings to make record action work.
(1) Set Recording
Step1: Set Smart Analysis as Record Type in Storage -> Video Record -> Record Schedule interface.
Step2: Enable Black List Mode / White List Mode / Visitor Mode as your demand.
Step3: Set Effective time and Trigger Channels Record action of your selected mode (Full effective time and trigger channel record are set by default).
Then NVR will record when license plate is detected.
Notes:Generally, record action is triggered by event. If you just enable ANPR function without enabling Black List/White List/Visitor modes nor setting record action, it means you just enable the function while record action is not set. Then no record will be triggered. So it is necessary to do all above three steps if you want to trigger record action.
(2) Check recording
In Playback
Step1: Entering Playback -> Event Playback -> Smart Analysis interface.
Step2: Input corresponded information and click search button to search.
Step3: Click record to play the video searched out.
In Live View
Click the license plate information to check the latest X seconds (10s~20s) video.
Notes:• X = 10 + Pre Record Time
You can set Pre Record Time in Storage -> Video Record -> Record Settings interface.
• Make sure that HDD is available on NVR and correct record settings is made, so that you can check the record on live view. Please refer to How to check ANPR record part for detailed record settings.
7. Check/Backup ANPR Logs
(1) Check ANPR logs
Step1: Search on Smart Analysis interface.
Step2: Input corresponded information and click search button to search.
Then you will get a whole ANPR logs list.
License plate snapshot will be shown on the logs list while the complete image video and license plate information will be shown on the left of the interface.
Step3: Click the Play button to play the video
(2) Backup ANPR logs
Two methods are available after searching ANPR logs out.
Backup license plates you want.
Step1: Tick license plates you want to backup and click backup button.
Step2: Select the export file type, video stream type and video file format, then click export button.
Backup all.
Step1: Click backup all button.
Step2: Select the export file type, video stream type and video file format, then click export button.
Then you will get corresponded file as selected export file type.
VI. How to set ANPR with Milesight CMS
1. Preparation
(1) Refer to the NVR section
(2) Upgrade your CMS to corresponded version.
CMS: V2.4.0.7 or above
Download link: http://www.milesight.com/support/download#software
2. Settings
Step1: Add NVR to CMS.
Step2: Go to “Device Config”, select a NVR and the channel, then enable ANPR function.
[License]: A license will be automatically assigned to each device.
[License Status]: This column is used to display the status of the license, "Valid" or "Invalid".
[Set LPR Detection Region]: You can set up to 4 ROI areas by drawing the screen. License plate will only be detected in the ROI regions.
[Processing Resolution]: Default resolution selected is 1280*720. You can choose different resolution according to the network environment.
Step2: Set ANPR function effective time. You can draw the schedule by clicking “Edit” button. Draw the schedule and then click “OK” or “Apply” after finishing setting.
Step3: Set detection parameters including Detection Trigger, Repeat Plate Checktime and Features identification.
[Detection Trigger]: Always and Alarm Input are available. It will only detect when alarm input is triggered if you select Alarm Input.
[Confidence Level]: You can set the confidence level from 1 to 10. When the confidence level of the license plate is higher than the set confidence level, it will push the license plate image to the logs interface..
[Repeat Plate Checktime]: The same license plate information won’t be received on NVR within the time you set.
[Feature Identification]: Check Region, Direction, ROI_ID or All to enable Features Identification, it will display the corresponding information on the logs interface.
3. List Management
Make a license plate list for your own NVR ANPR system.
Upload license plates and set them with different license type here. 10000 plates can be added at most.
Kindly note that the list is exclusive for NVR, working with all LPR cameras you added. It won’t synchronize with the list on camera side.
There are two methods to add license plates:
(1) Add one by one.
Step1: Click the "Add" button.
Step2: Input the license plate and select license type.
Step3: Click OK and then the license plate will be added into the list.
(2) Batch uploadadding by importing template.
Step1: Click Download Template, select folder and click OK to download Template.
Step2: Input all license type and license plate number as Template shows.
Step3: Click Import button, select the file and click OK to add all license plates into list.
4. Black/White/Visitor List Mode
We provide you three modes for better event management, which is based on two license types.
Black List Mode: Manage event for license plates in black list.
White List Mode: Manage event for license plates in white list.
Visitor Mode: Manage event for those license plates do not have license type.
Steps for settings:
Step1: Enable Black List Mode/White List Mode/Visitor Mode as your demand.
Step2: Set effective time which means Mode works during that.
Step3: Set actions you need including Audible Warning, Email Linkage, Event Popup, PTZ Action, Alarm Output.
5. Set ANPR Record
Step1: Set Smart Analysis as Record Type in Device -> Select NVR -> Record Schedule interface.
Step2: Enable Black List Mode / White List Mode / Visitor Mode as your demand.
Step3: Set Effective time and Trigger Channels Record action of your selected mode(Full effective time and trigger channel record are set by default).
Then NVR will record when license plate is detected.
Notes:Generally, record action is triggered by event. If you just enable ANPR function without enabling Black List/White List/Visitor modes nor setting record action, that means you just enable the function while record action is not set. Then no record will be triggered. So it is necessary to do all above three steps if you want to trigger record action.
6. Check/Backup ANPR Logs
(1) Check ANPR logs
Step1: Search on Smart Analysis interface.
Step2: Input corresponded information and click search button to search. Then you will get a whole ANPR logs list.
License plate snapshot will be shown on the logs list while the complete image video and license plate information will be shown on the left of the interface.
Step3: Click Play button to play the video.
(2) Backup ANPR logs
Two methods are available after searching ANPR logs out.
Backup license plates you want.
Step1: Tick license plates you want to backup and click backup button
Step2: Select the Export File Path, File Type, Video stream type and Video file format, then click export button.
Backup all.
Step1: Click backup all button
Step2: Select the export file type, video stream type and video file format, then click export button.
Then you will get corresponded file as selected export file type.