How ANPR works: from image to plate

Plate recognition is an image-processing chain: a frame is taken from the camera, the plate region is located inside it, that region is passed to character recognition, and the resulting reading is turned into a decision. Two independent models read the same frame and their results are combined by majority vote. A reading below the confidence threshold is not treated as a plate, and unreadable passages are still recorded.

What are the steps in plate recognition?

Plate recognition is not a single operation but a chain in which the image is processed step by step. Each link prepares the input for the next; if the first link fails, the later ones never run.

This page describes the chain itself, the technology layer. The on-site flow, from a vehicle arriving to the gate opening, is a separate subject.

  • Frame capture — the image to be read is taken from the camera stream.
  • Region detection — the area holding the plate is located inside the frame.
  • Character recognition — that area is turned into letters and digits.
  • Decision — the reading is checked against the authorisation list and the result is recorded.

How is the plate region found in the image?

The frame is not handed to character recognition raw. First the position of the plate inside the frame is searched for: a plate is a rectangular region with more regular edges than its surroundings, carrying characters arranged in a row. Image processing looks for that pattern.

Once the region is found, the frame is cropped and prepared for reading: scale and contrast are brought to a state where the characters can be separated from one another. All later steps work on this cropped region.

If no region is found, there is nothing to read; the passage joins the unreadable ones and its record is kept.

How are the characters read?

Character recognition (OCR) turns the cropped plate image into letters and digits. The model recognises the characters in the image and produces a reading. Knowing the plate format helps: the sequence of letters and digits follows a pattern, and the reading can be checked against it.

Characters that look alike can be confused; the edge of the crop can cut a character off or add something that is not part of the plate. A single reading is therefore never treated as final.

Two independent models and majority vote

The same frame is read by two independent models. Because the models can make different mistakes, their results are judged together rather than one by one: the readings are combined by majority vote and the decision rests on the combined result. A single model's mistake does not decide on its own.

Since both models work on the same frame, both are affected by the same image conditions: a blurred frame is hard for either of them. Two models improve readability, but they do not turn an unreadable frame into a readable one.

The confidence threshold and why a read fails

Every reading carries a confidence value. A reading that does not pass the confidence threshold is not treated as certain; if the allow-list cannot be read, no plate is treated as authorised, and the gate does not open on an uncertain result. Failure closes towards refusal, not towards permission.

A read can fail for several reasons:

  • Angle — if the plate is not turned towards the camera enough, the characters narrow and merge.
  • Light — headlight glare, deep shadow or poor illumination swallows the characters.
  • Dirt — mud, snow, dust or anything covering the plate.
  • Speed — if the vehicle is not sharp at the moment the frame is taken, the image is blurred.
  • Framing — the plate sits at the edge of the frame or leaves it entirely.
  • Format — if the plate is non-standard, bent or damaged, the characters cannot be separated.

Frequently asked questions

Is the plate looked for in a fixed region?
No. The position of the plate inside the frame is found again every time; a vehicle does not stop in the same spot on every passage, so looking at a fixed region would not be enough.
Why are two models needed?
So that a single model's mistake cannot decide on its own. Two independent models read the same frame and their results are combined by majority vote.
What happens when a reading is not reliable?
A reading below the confidence threshold is not treated as certain; if the allow-list cannot be read, no plate is treated as authorised and the gate does not open. The passage is still recorded.
Why does a plate fail to read at night?
Reading at night depends on illumination: headlight glare can blow out the plate, and in poor light the characters cannot be separated. An unreadable passage is kept with its evidence.
How is this page different from the how it works page?
This page covers the technology: how the plate is extracted from the image. The how it works page covers the on-site flow of the product: a vehicle approaches, the plate is read, the gate opens.

Related pages

Tell us about your gate and we will size the configuration together.

Get a quote

Last updated: 2026-10-05