If the barrier does not open when a car approaches, and an error appears in the system logs NoPlateDetected or LowConfidence, the problem lies in the license plate recognition (ANPR) software. Even with good cameras and lighting, poor-quality software can miss up to 30% of numbers - especially in bad weather or at night. Recognition accuracy depends not only on camera resolution, but also on image processing algorithms, license plate database and system response speed.

Today on the market they are presented as universal solutions (for example, OpenALPR or PlateRecognizer), and specialized programs for barriers with support for Russian GRZ (state registration plates). The main task is to choose software that works reliably with your equipment (barrier controller, cameras Hikvision/Dahua) and integrates with accounting systems (1C, SQL databases). Next, we’ll look at how to avoid common mistakes when choosing and setting up.

How does the license plate recognition program for a barrier work?

The ANPR (Automatic Number Plate Recognition) system analyzes the video stream from the camera in real time, highlighting areas with license plates in the frames. The algorithm goes through 4 key stages:

  1. Detection β€” search for rectangular objects with high contrast (usually white/yellow background + black characters).
  2. Segmentation β€” division of the number into individual characters, taking into account the GOST R 50577-2018 standard (sizes, font, distance between letters).
  3. Recognition β€” comparison of characters with templates using the OCR (Optical Character Recognition) database.
  4. Validation β€” checking whether the number matches the format (for example, A123BE777 for the Moscow region).

Modern programs use neural networks (for example, YoloV5 in PlateRecognizer), which are trained on millions of images of license plates. This allows signs to be recognized even with partial dirt, snow or glare. However, accuracy decreases if:

  • πŸ”Ή The camera is installed at the wrong angle (optimally - 15–30Β° to the horizon).
  • πŸ”Ή Resolution below 1080p or frame rate less than 15 FPS.
  • πŸ”Ή The number is counterfeit or has a non-standard font (found in β€œbroken” signs).
  • πŸ”Ή Lighting is uneven (shadows from trees, bright headlights of oncoming cars).

Important: programs for barriers differ from β€œpolice” ANPR systems. The first ones are optimized for quick decision making (open/not open), the second - for documenting violations with high detail.

πŸ’‘

If the barrier operates with a delay, check the parameter in the software settings MinConfidence (threshold of confidence). A value below 70% will speed up the response, but will increase the number of false positives.

Top 5 programs for recognizing license plates on barriers

The choice of software depends on the budget, required accuracy and compatibility with the equipment. Below is a comparison of popular solutions with support for Russian gas distribution systems:

Program Accuracy (day/night) Cost (license) Hardware support Features
OpenALPR 92% / 85% From 5,000 β‚½/month Hikvision, Dahua, Axis Open API, cloud version
PlateRecognizer 95% / 88% From 8,000 β‚½/year Any ONVIF cameras Support 150+ countries, SDK for integration
ANPR Vision 94% / 87% From 20,000 β‚½ (lifetime) CAME, FAAC, Nice Local processing, without internet
Neurocam ANPR 96% / 90% From 30,000 β‚½ Neurocam's own cameras The neural network was trained on Russian numbers
Beward ANPR 93% / 86% Included in the price of Beward cameras Only Beward Easy setup, but branded

For parking lots with high traffic (more than 500 cars/day) we recommend PlateRecognizer or Neurocam ANPR β€” they cope better with data flow. Suitable for private homes or small offices ANPR Vision with a one-time payment.

⚠️ Attention: Free versions (eg OpenALPR Community) limit the number of recognized numbers per day and do not guarantee support for new license plate formats (for example, since 2023, numbers with the letter β€œO” instead of β€œOo” have appeared).

Criteria for selecting a program for a barrier

When purchasing software, consider 5 key parameters:

  1. Recognition speed β€” time from fixing the number to the command to open the barrier. Normal: < 1 second.
  2. Precision in your conditions β€” test the demo version with your cameras (especially at night).
  3. Compatible with barrier controller β€” check the protocols (RS-485, TCP/IP, relay outputs).
  4. Database integration β€” the ability to export logs to Excel, 1C or accounting systems (for example, Parking Control).
  5. GRZ database updates β€” the program must support current formats (in 2026 there will be 7 types of numbers).

Additional features you may need:

  • πŸ“Œ Black/white list β€” automatic opening for allowed numbers and blocking for prohibited ones.
  • πŸ“Œ Transponder recognition (RFID tags) as a backup option.
  • πŸ“Œ Notifications about unidentified numbers (SMS, Telegram, email).
  • πŸ“Œ Analytics β€” statistics on peak load times, frequency of visits.
πŸ“Š What program are you considering for the barrier?
OpenALPR
PlateRecognizer
ANPR Vision
Neurocam ANPR
Another

If the barrier is used in a paid parking lot, pay attention to support tariffs (for example, integration with ParkLine or Parkeon). For residential complexes the function is critical "guest access" β€” temporary addition of numbers through the mobile application.

Step-by-step setup of the recognition program

Let's look at the installation using an example ANPR Vision (similar for other software, adjusted for interface). You will need:

  • πŸ–₯️ Computer with Windows 10/11 or server (minimum requirements: CPU i5, 8 GB RAM, SSD).
  • πŸ“·IP camera with ONVIF support (recommended Hikvision DS-2CD2T47G1-L).
  • πŸ”Œ Barrier controller (for example, CAME ZA3).

Step 1. Software installation

  1. Download the distribution from the official website (avoid β€œcracks” - they often contain backdoors).
  2. Run the installer with administrator rights. When selecting components, note:
    ANPR Engine (recognition core), Database Module (for logging), Integration Tools (for communication with the barrier).
  3. After installation, restart your computer.

Step 2: Connecting the Camera

  1. Open the program control panel, go to Cameras β†’ Add.
  2. Enter the camera's IP address, login/password (usually by default admin/12345).
  3. In stream settings, select resolution 1920Γ—1080, compression format H.264, FPS β€” 25.
  4. Activate the option Day/Night (if the camera supports ICR filter).

The camera is aimed at the capture zone (2–5 m in front of the barrier)|Uniform lighting (no glare or shadows)|Internet speed of at least 10 Mbit/s (for cloud solutions)|The barrier controller is connected to a PC via RS-485 or Ethernet-->

Step 3. Setting up recognition

In the section ANPR Settings install:

  • Region β€” Russia (for correct format validation).
  • Min Plate Width β€” 120 px (minimum width of the number in the image).
  • Confidence Threshold β€” 75% (confidence threshold; for errors, reduce to 70%).
  • Night Mode β€” Enabled (if the camera works in the dark).

Step 4. Integration with the barrier

On the menu Integration β†’ Gate Controller select your device model (for example, FAAC XT4). Set up:

  • Open Command - command to open (usually RELAY1_ON).
  • Close Delay β€” delay before closing (recommended 10 sec).
  • Log Events β€” enable to keep a log of visits.

After saving the settings, test the system: drive your car up to the barrier at different speeds (5–30 km/h). If the number is not always recognized, check:

  • πŸ”§ Focusing the camera (the number must be clear).
  • πŸ”§ Viewing angle (the center of the number is in the center of the frame).
  • πŸ”§ Lighting (use IR illuminator for night photography).

Common mistakes and their solutions

Even after the program has been configured correctly, crashes may occur. Below is a table of common problems and how to fix them:

Problem Possible reason Solution
The barrier does not open when recognized Invalid command in controller settings Check Open Command in integration settings. For CAME use OPEN=1.
The number is recognized with errors (for example, β€œB” instead of β€œB”) Low resolution or non-standard number font Enlarge Min Plate Width up to 150 px or update the template database in the software.
The program freezes when there is a large flow of cars Insufficient PC resources or slow HDD Install an SSD, increase the RAM to 16 GB or limit the camera FPS to 15.
False alarms for pedestrians or bicycles Incorrect detection settings Disable the option Detect Non-Vehicle Objects and increase Min Confidence up to 80%.
The number is recognized, but the barrier opens with a delay Slow communication between software and controller Use direct RS-485 communication instead of TCP/IP or reduce Close Delay.
⚠️ Attention: If the program no longer recognizes license plates after updating Windows, check compatibility with the .NET Framework. Some ANPR systems require version 4.8, which must be installed manually.

To diagnose errors, use the program logs (folder Logs in the installation directory). Look for lines with ERROR or WARNING. For example, record PlateNotFound: Confidence=65% means that the number has been detected, but confidence is below the thresholdβ€”adjustment of settings or improved lighting is required.

How to read ANPR Vision logs?

Logs are stored in the format .log and contain timestamps, event type and details:

- [PLATE_DETECTED] β€” the number was recognized successfully.

- [LOW_CONFIDENCE] β€” the number was detected, but the confidence is below the threshold (indicated in brackets, for example, 68%).

- [NO_PLATE] β€” no license plates found in the image.

- [GATE_OPEN] β€” the command to open the barrier has been sent.

To filter errors, use keyword search in Notepad or Notepad++.

Updating the GRZ database and maintenance

Russian license plates are regularly updated: new series for motorcycles appeared in 2023 (MM777MM77 RUS), and from 2026 numbers with the letter β€œO” (previously prohibited) will be introduced. If the program does not recognize current formats, update the database:

  1. In Control Panel, go to Settings β†’ Database Update.
  2. Click Check for Updates β€” the program will compare your version of the database with the current one.
  3. Download and install the update (a software restart may be required).

Regular system maintenance includes:

  • πŸ”§ Cleaning the chambers from dust and dirt (once a month).
  • πŸ”§ Checking the lighting β€” replace burnt-out lamps or IR illuminators.
  • πŸ”§ Backup Power Testing (The UPS should keep the system running for 10–15 minutes).
  • πŸ”§ Archiving logs β€” old recordings take up disk space.

For cloud solutions (for example, PlateRecognizer Cloud) updates are installed automatically, but a stable Internet connection is required (from 20 Mbit/s). Local programs (for example, ANPR Vision) need to be updated manually, but they work without a network connection.

πŸ’‘

Regularly check recognition accuracy using a test number (for example, T001TT199). If errors occur more than once in 50 attempts, camera diagnostics or software reinstallation is required.

Alternative Solutions: When ANPR Isn't Suitable

License plate recognition programs are not always optimal. Consider alternatives in the following cases:

  • πŸš— Low traffic (less than 50 cars/day) - it’s cheaper to use RFID tags or key fobs.
  • πŸš— Difficult weather conditions (fog, rain) - ANPR loses accuracy, it is better to combine it with a video intercom.
  • πŸš— Temporary access (for example, for construction equipment) - SMS codes or QR tickets are more convenient.
  • πŸš— High demands on security (banks, military facilities) - biometrics or two-factor authentication are needed.

Comparison of alternative systems:

Technology Pros Cons Cost (per 1 post)
RFID tags High response speed, independent of weather It is necessary to issue/control tags, losses are possible 15 000–30 000 β‚½
Key fobs (radio channel) Easy to use, range up to 50m Can copy signal, limited number of channels 10 000–25 000 β‚½
SMS codes No equipment required, flexible access settings Depends on communication, there may be delays 5,000–15,000 β‚½ (subscription fee)
Video intercom Visual control, video recording Requires operator, slower than ANPR 20 000–50 000 β‚½

Hybrid solutions (eg. ANPR + RFID) are used in premium parking lots. In this case, the program recognizes the number, and the RFID tag serves as a backup identifier. This scheme reduces the number of errors to 1–2%, even in difficult conditions.

FAQ: Frequently asked questions about ANPR for barriers

Can I use license plate recognition software for a solar barrier?

Technically yes, but with caveats:

  • ANPR system consumption is 50–150 W (depending on PC and cameras). A 300 W solar panel is only sufficient in clear weather.
  • Requires a battery with a capacity of 100 Ah or more for night operation.
  • When it is cloudy or in winter, the system may turn off. We recommend a backup source (220V network).

For stand-alone solutions, controllers with low power consumption are better suited (for example, FAAC XT4 Solar) + RFID.

How to avoid false positives for numbers with similar symbols (for example, β€œZ” and β€œ3”)?

The problem can be solved by adjusting the OCR parameters:

  1. Enable the option Strict Font Matching (comparison with the standard GOST font).
  2. Add problematic characters to Blacklist (for example, block the number A333AA77, if it often fails).
  3. Use cameras with 4K resolution - they are better at separating similar characters.

If errors are repeated, send samples of problem numbers to software support - they can retrain the neural network.

Is it necessary to register the ANPR system with Roskomnadzor or the State Traffic Safety Inspectorate?

From 2026 the following rules apply:

  • For private territories (residential complexes, offices) registration is not required, but data about visitors should be stored for no longer than 30 days (FZ-152 β€œOn Personal Data”).
  • For commercial parking (shopping centers, airports) you need to notify Roskomnadzor about data collection (form on the website rkn.gov.ru).
  • Using ANPR for recording traffic violations (for example, at the exit from a parking lot) requires approval from the traffic police (order No. 664 of 2017).

In any case, at the entrance to the territory there must be a sign with information about video surveillance (GOST R 51558-2014).

Which camera is better for ANPR: color or black and white?

The choice depends on the conditions:

  • Color camera (for example, Hikvision DS-2CD2T47G1-L) is suitable for daytime use - it better recognizes the background color of the license plate (white/yellow).
  • Black and white with IR illumination (for example, Dahua IPC-HFW5442E-ZE) is optimal for night photography - the IR filter removes glare from headlights.

The best option is a camera with switchable mode (ICR filter), which automatically switches to black and white mode in low light.

Is it possible to connect ANPR to a smart home (Home Assistant, Majordomo)?summary>

Yes, most ANPR programs support integration via:

  • API β€” sending data about numbers via HTTP (for example, POST /api/plate with JSON body).
  • MQTT β€” publication of events in topics (for example, anpr/plate/detected).
  • Plugins - for Home Assistant there is a ready-made component ANPR Camera.

Setting example for Home Assistant:

camera:

- platform: anpr

name: ANPR barrier

ip_address: 192.168.1.100

port: 8080

api_key: YOUR_API_KEY

triggers:

- plate: "A123BV777"

action: script.open_gate

For Majordomo use module ANPR Gateway, which converts data from the software into commands for the automation system.