Automatic number-plate recognition

Also known as: ANPR · license plate recognition

On this page 7

Automatic number-plate recognition (ANPR) is a computer vision technology that detects vehicle registration plates in images or video and converts the characters into machine-readable text. Known in North America as license plate recognition, it is one of the most widely deployed AI applications in transport, parking, tolling and law enforcement.

A modern ANPR system combines dedicated cameras, often with infrared illumination, a deep learning pipeline that finds and reads plates, and software that matches each read against lists, databases or business rules. Its value lies in automating identification at scale, while its risks center on read errors, privacy and the retention of location data.

How ANPR reads a number plate

ANPR works as a multi-stage recognition pipeline in which each stage narrows the problem for the next. A camera captures the vehicle, a detector locates the plate, and a recognition model reads the characters before post-processing validates the result.

Older systems used hand-crafted steps such as edge detection, character segmentation and template matching. Current systems rely on convolutional and Transformer-based neural networks, and many skip explicit segmentation by reading the whole plate as a sequence with a connectionist temporal classification or attention decoder.

The table below lists the stages of a typical pipeline and the main technique used at each one.

StagePurposeTypical technique
Image captureObtain a sharp frame of the vehicleGlobal-shutter camera with infrared flash
Vehicle and plate detectionLocate the plate regionSingle-stage object detector
RectificationCorrect skew and perspectiveGeometric transform from plate corners
Character recognitionRead the plate stringSequence model with CTC or attention
Syntax validationReject impossible stringsCountry-specific format rules
Multi-frame fusionRaise confidence across framesVoting over several reads per vehicle
Stages of an ANPR pipeline

Each read is stored with a timestamp, location, confidence score and image crop, which is what makes ANPR data useful for later search and also what makes it sensitive.

Factors that determine accuracy

ANPR accuracy depends far more on camera placement and image quality than on the recognition model alone. Well-installed fixed systems on controlled lanes commonly report read rates in the high 90s percent, while mobile or wide-angle installations perform noticeably worse, so any single accuracy figure should be treated with caution.

The following parameters have the strongest influence on read quality.

ParameterTypical targetEffect if wrong
Plate character heightAbout 15 to 30 pixels or moreCharacters blur into each other
Horizontal camera angleUnder about 30 degreesPerspective distortion and misreads
Shutter speedShort exposure for moving trafficMotion blur on fast vehicles
Infrared illuminationMatched to retroreflective platesPoor night reads and glare
Frame rateSeveral frames per passing vehicleFewer chances for fusion
Parameters that affect ANPR read quality

Plate design matters as well. Fonts, two-line layouts, regional symbols and personalized plates differ between countries, so a model trained on one jurisdiction often needs retraining or fine-tuning before it performs reliably in another.

Common applications and deployment types

ANPR is used wherever an organization needs to identify vehicles without manual checks. The same core technology is packaged differently for fixed roadside sites, car parks, patrol vehicles and edge devices.

ApplicationWhat ANPR doesMain requirement
Parking managementOpens barriers and computes stay durationReliable reads at low speed
Electronic tollingBills vehicles without a transponderVery high accuracy at highway speed
Average speed enforcementMeasures time between two camerasSynchronized clocks and evidential quality
Law enforcement alertsMatches reads against hotlistsLow latency and human verification
Access controlAdmits registered vehicles to sitesWhitelist management and fallback
Traffic analyticsEstimates journey times and flowsAggregation and anonymization
Typical ANPR applications

Processing can run on the camera at the edge or on a central server. Edge processing reduces bandwidth and latency, while central processing simplifies model updates and cross-site matching; many deployments combine the two.

ANPR is a specialized form of video analytics and optical character recognition, and it is often confused with broader vehicle identification methods. The comparison below clarifies what each technology can and cannot establish.

TechnologyWhat it identifiesKey difference
ANPRRegistration plate textWorks with any plated vehicle
General OCRText in documents or scenesNot tuned for plates or motion
RFID tolling tagsA registered transponderRequires equipment in the vehicle
Vehicle make and model recognitionBrand, model and colorCannot identify a specific vehicle
Facial recognitionA person’s faceBiometric data with stricter rules
ANPR versus related identification technologies

Many systems combine ANPR with make, model and color recognition to detect cloned plates, where the plate read does not match the registered vehicle description.

Even a highly accurate system produces misreads at scale, because millions of reads per day turn a small error rate into thousands of wrong records. Typical confusions include O and 0, B and 8, and I and 1, and dirty, damaged or obscured plates add further errors.

  • Never act on a single unverified read; a human should confirm hotlist matches before enforcement.
  • Define retention periods in advance; storing all reads for years creates a detailed movement history.
  • Restrict access and log queries so that data is used only for its stated purpose.
  • Monitor accuracy by site and condition, not only as one average figure.
  • Check local law, because ANPR data is generally treated as personal data under regimes such as the GDPR.

The central trade-off is between operational value and mass surveillance risk. Proportionate deployment, clear signage where required and independent oversight are the practices that make ANPR defensible.

Stripped to the essentials

Automatic number-plate recognition is a camera that reads car plates by itself. It takes a picture of a passing car and finds the plate. Then software turns the letters and numbers into text a computer can use.

That text can open a parking barrier, send a toll bill or warn police about a stolen car. The system is fast and never gets tired. It still makes mistakes, though, and it records where cars have been. That is why people should check its alerts and limit how long the records are kept.

Where it is applied

A city hospital replaces paper tickets in its 1,200-space car park with ANPR. Cameras with infrared illuminators are mounted at each of four entry and exit lanes, about 4 meters from the barrier and at an angle under 20 degrees, so plate characters appear at roughly 25 pixels high.

On entry, the system reads the plate and stores the time. On exit, it calculates the fee or recognizes staff vehicles from a whitelist and opens the barrier. Reads below a confidence threshold are sent to an attendant, who checks the image crop.

After three months, the operator reports shorter queues at the exits and almost no lost-ticket disputes. Reads are deleted after 30 days unless a payment dispute is open, which keeps the data footprint proportionate to the purpose.