logo

Glossary / Computer vision

What is automatic number plate recognition?

Automatic number plate recognition (ANPR) is computer vision that detects a vehicle's registration plate in a video frame, isolates it, and converts the characters to text. On Indian roads its accuracy depends far more on camera placement, shutter speed and plate condition than on the recognition model itself.

Reviewed by Dr. Vivek Gujar, Chief Strategy Officer  ·  Updated 31 August 2026  ·  7 min read

ANPR is also written as ALPR (automatic licence plate recognition) or simply LPR. The three terms describe the same capability. It is the most widely deployed video analytic in India because the output is unambiguous: a string of characters that either matches a record in your system or does not. Unlike behaviour analytics, there is no interpretation layer to argue about.

That clarity is also why ANPR projects fail in a specific, measurable way. When the read is wrong, everyone knows immediately, because a barrier does not lift or a wrong vehicle gets logged. This page covers what the pipeline actually does, what the camera has to deliver for it to work, and how to read an accuracy claim properly.

How the ANPR pipeline works

A production ANPR system runs five stages on every frame it decides to process. Understanding the sequence matters because failures are almost always attributable to one stage, and the fix is different for each.

  1. Vehicle detection. An object detector finds vehicles in the frame and gives each one a bounding box. This narrows the search area and reduces false plate detections on signage, stickers and reflections.
  2. Plate localisation. A second model finds the plate within the vehicle box. On Indian vehicles this is harder than in Europe because plate position varies widely, particularly on two-wheelers and commercial vehicles with bull bars or aftermarket mounts.
  3. Rectification. The plate crop is deskewed and normalised. A plate photographed at an angle is a trapezoid, and the OCR stage expects a rectangle. Beyond roughly 30 degrees of horizontal or vertical incidence, rectification starts discarding information rather than recovering it.
  4. Character recognition. OCR converts the rectified crop to a character string, usually with a per-character confidence score attached.
  5. Format validation. The raw string is checked against Indian registration formats. A read of MH12AB1234 is plausible. A read of MH12AB123Z is not, because the last four characters must be numeric, so the system can correct or reject it. This stage recovers a meaningful share of otherwise failed reads and is often the cheapest accuracy improvement available.

Stages one through four are model work. Stage five is business logic, and it is where India-specific tuning earns its keep. The same is true of multi-frame voting, where the system reads the plate across several frames as the vehicle approaches and takes the consensus rather than trusting any single frame.

Read rate and accuracy are different numbers

Most ANPR accuracy claims are unusable because they do not say which number is being quoted. There are three, and they compound.

The three ANPR measurements, and what each one hides
MeasureWhat it countsWhat it hides
Character accuracyCorrect characters as a share of all characters readCompounds across the plate. A high figure here can still mean a poor plate-level result.
Plate accuracyFully correct plates as a share of plates the system attemptedExcludes vehicles the system never detected at all.
Read ratePlates attempted as a share of vehicles that passedNothing. This is the number that governs whether the barrier opens.

End-to-end performance is read rate multiplied by plate accuracy. Ask for both, and ask over what sample.

Worked example: why 98 percent is not 98 percent

A standard Indian car registration such as MH 12 AB 1234 is ten characters. If a system reads characters correctly 98% of the time, the probability of getting the whole plate right is 0.98 raised to the power of ten.

0.98 ^ 10 = 0.817 → 81.7% of plates fully correct
0.995 ^ 10 = 0.951 → 95.1% of plates fully correct

Half a percentage point of character accuracy is worth 13.4 percentage points at the plate. Now apply a read rate. At a 92% read rate with 95.1 percent plate accuracy, end-to-end performance is 87.5%. On a gate handling 2,000 vehicles a day, that is 250 vehicles a day requiring manual intervention. Which is fine for a logging application and unacceptable for unattended access control.

What the camera has to deliver

Nearly every ANPR deployment that underperforms was under-specified at the camera, not at the model. Three parameters govern the outcome.

Pixel density at the plate

OCR needs a minimum character height in pixels. Below roughly 16 px of character height, reads degrade sharply; 20 to 25 px is the reliable working range. You can derive the pixel density you need from the physical plate.

Standard Indian car plate character height ≈ 65 mm (0.065 m)
Target character height = 20 px
Required density = 20 ÷ 0.065 ≈ 308 pixels per metre at the plate

Two-wheeler plate character height ≈ 35 mm (0.035 m)
Required density = 20 ÷ 0.035 ≈ 571 pixels per metre at the plate

Two-wheelers need close to twice the pixel density of cars for the same read quality. On a mixed gate, spec for the two-wheeler or accept that two-wheeler reads will be materially worse than car reads. This single point explains most disappointing results at housing society and campus gates, where two-wheelers are the majority of traffic.

Shutter speed

Motion blur destroys plate reads before resolution ever becomes the limiting factor. A vehicle at 60 km/h travels 16.7 metres per second.

At 1/500 s the vehicle moves 16.7 ÷ 500 = 33 mm during exposure
At 1/2000 s the vehicle moves 16.7 ÷ 2000 = 8 mm during exposure
Typical plate character stroke width ≈ 10 mm

At 1/500 s the smear is wider than the strokes it is meant to resolve. Fast shutters starve the sensor of light, which is why dedicated ANPR cameras pair them with strong infrared illumination and why the retroreflective coating on HSRP plates matters so much. Reading an HSRP plate under IR is a different, easier problem than reading a painted plate under IR.

Angle and lane discipline

Keep both horizontal and vertical incidence under about 30 degrees. Every degree past that costs rectification quality. A camera mounted high to survey a wide forecourt and also asked to read plates will do neither job well. ANPR generally wants a dedicated, tightly framed camera per lane.

Typical Indian deployment scenarios and what each one demands
ScenarioSpeedShutterPractical note
Society or campus gate with barrierUnder 10 km/h1/500 sTwo-wheeler mix drives the spec. Vehicle stops, so multi-frame voting is easy.
Factory gate or weighbridgeUnder 10 km/h1/500 sDust and mud on plates is the dominant failure. Pair with a weighbridge or RFID cross-check.
Mall or commercial parking entry10 to 20 km/h1/1000 sRamp geometry often forces a steep vertical angle. Survey before committing.
Free-flow lane or approach road40 to 80 km/h1/2000 sNeeds dedicated IR illumination. One camera per lane, no exceptions.

Where Indian conditions break ANPR

Models trained predominantly on European or North American plates underperform here for reasons that have nothing to do with model quality:

The practical consequence is that a benchmark run on a public international plate dataset tells you very little about how a system will perform at your gate. Ask for footage from a deployment resembling yours, or run a two-week pilot on your own cameras before committing.

Running ANPR at the edge

ANPR is a strong candidate for edge processing because the decision is time-critical and the data is sensitive. A barrier has to lift while the driver is still at it, which makes a round trip to a cloud region a poor fit for the control loop. Processing on site also means the video never leaves the premises: only the plate string and a timestamp need to be transmitted.

In retrofit deployments, an on-site appliance pulls RTSP streams from the existing NVR, so the cameras and recorder already installed continue to do their job while the analytics layer is added alongside them. Where the cameras support ONVIF, discovery and stream configuration are considerably faster.

Cloud ANPR is the better choice in three situations, and it is worth being clear about them. If plate reads are logged for later analysis rather than driving a barrier, latency does not matter. If you are running a handful of cameras across many small sites, a single cloud tenancy is cheaper to operate than an appliance per site. And if you already run a cloud VMS that your team knows, adding a second on-premise system creates operational cost that the technical benefit may not repay. Edge earns its place when the decision is real-time, the camera count per site is high, or the data cannot leave the premises.

ANPR and DPDP

A vehicle registration number can constitute personal data under the Digital Personal Data Protection Act where it can reasonably be linked to an identifiable individual, which at a residential gate or an employee car park it usually can. Plate logs treated as purely operational data are a common compliance gap in existing deployments.

Practical implications worth settling before deployment rather than after:

This is general information rather than legal advice. Deployments involving resident or employee data should be reviewed by your own counsel.

Frequently asked questions

What accuracy should I expect from ANPR in India?

For a controlled gate with vehicles at low speed, a correctly specified system should achieve above 95 percent end-to-end on four-wheelers with HSRP plates. Two-wheelers and older painted plates will be lower. Treat any vendor quoting a single figure above 99 percent without stating whether it is character accuracy, plate accuracy or end-to-end, and over what sample, as unverified.

Can ANPR run on my existing CCTV cameras?

Sometimes. The determining factor is whether the existing camera delivers enough pixel density at the plate, an adequate shutter speed and an acceptable angle. A general-purpose camera mounted for wide-area coverage usually fails at least one of those. The pragmatic pattern is to retrofit analytics onto the existing estate for everything else and add one dedicated ANPR camera per lane where plate reading is required.

What is the difference between ANPR and ALPR?

None. ANPR is the term used in India, the UK and much of the Commonwealth. ALPR, for automatic licence plate recognition, is the North American term. LPR is used interchangeably with both. They describe the same capability.

Does ANPR work at night?

Yes, and often better than in daylight, provided infrared illumination is fitted. HSRP plates are retroreflective, so under IR the plate returns light strongly while the surrounding vehicle stays dark, producing high contrast. The harder conditions are usually low-angle direct sun and headlight glare at dusk, not darkness.

How many cameras do I need for ANPR?

Plan on one dedicated camera per lane of traffic. A single camera covering two lanes has to be mounted further back and wider, which reduces pixel density at every plate and pushes the incidence angle up on both lanes. Bidirectional gates need one per direction unless traffic is genuinely one vehicle at a time.

Can ANPR read a plate that is dirty or damaged?

Partially. Format validation and multi-frame voting recover some contaminated reads, but a plate with characters physically obscured cannot be recovered by any model. In factory and logistics environments where contamination is routine, pair ANPR with a second identifier such as RFID or a driver-entered docket number, and use the plate read as corroboration rather than the sole key.

Planning an ANPR deployment?

IndoAI runs number plate recognition on site, alongside your existing cameras and NVR, so plate data stays on your premises. Tell us your gate layout and traffic mix and we will tell you what it will actually read.

Talk to an adviser

Reviewed by Dr. Vivek Gujar, Chief Strategy Officer at IndoAI Technologies Pvt. Ltd., a Pune-based edge AI camera platform founded in 2021. He reviews IndoAI's published technical claims for accuracy. Profile