Reading licence plates on a home gate camera: what actually works
Licence-plate recognition is in early access for Vigiora Server. What a gate camera needs to read plates reliably, how to work out the plate size in pixels from distance and lens, and what to expect at night.
· 4 min de citit · Vezi ca Markdown

A camera that reads the plate of every car at your gate sounds simple. In practice, whether it works depends far less on software than on where the camera is, how wide it sees and how fast its shutter is. This guide explains what Vigiora's licence-plate recognition needs, so you can place a camera that reads plates rather than one that only shows cars.
How it works#
The plate service watches the cameras you switch it on for. For each vehicle that arrives, it finds the vehicle, then the plate, then reads the characters, and combines the reads from several frames of the visit into one answer. It reads Thai and Latin plates; the Plate region setting (TH, EU or US) tells it how to lay out the text.
Each vehicle visit becomes one detection labelled plate:<text>, with the plate crop as its picture. A car that stays parked in view is read once while it stays, not every second. Repeat after (s), 60 seconds by default, sets how soon the same plate can be reported again on that camera.
Plate reads appear in Playback's plate lane, in the camera's event list and in Guardian's context, so you can ask Guardian chat "Which plates were seen at the gate today?". Like other detector events, they are kept for 30 days.
The rule that matters: about 100 pixels#
The service needs the plate to be about 100 pixels wide in the camera's full-resolution picture. Below that, characters blur together and reads become guesses.
You can work it out before you mount anything. Measure how wide the scene is, in metres, at the spot where the plate will be, then:
plate width in pixels = picture width in pixels × plate width in metres ÷ scene width in metres
Two examples with a 1920-pixel-wide (1080p) camera:
| Scene width at the plate | A 0.52 m European plate | A 0.30 m US plate |
|---|---|---|
| 4 m (camera close to the gate) | about 250 px | about 145 px |
| 8 m | about 125 px | about 70 px |
| 12 m (a wide driveway view) | about 85 px | about 50 px |
So a camera that shows the whole front garden and the street is a good security camera, but a poor plate reader. A narrow view of the gate, with a varifocal or longer lens, does far better. A higher-resolution camera helps only if you record its main stream; the sub-stream is far too small.
Placing the camera#
- Aim along the lane, not across it. The plate should face the camera as squarely as possible. A steep angle from the side or from high above squashes the characters.
- Catch the car where it slows down, at the gate itself, rather than on the open road.
- Mount it at a moderate height. Higher is safer from tampering, but the steeper the angle, the harder the read.
- Keep one lane per camera if you can. A gate camera does better than a camera trying to cover two driveways.
Night is the hard part#
Most failed reads happen at night, for two reasons:
- Motion blur. In the dark, cameras slow their shutter to gather light, and a moving plate smears. If your camera lets you, set a faster shutter for this camera, even if the rest of the picture gets darker.
- Glare. Plates are reflective. The camera's own infrared light can turn a plate into a bright white rectangle. Lowering the infrared strength, or using a separate light angled away from the lens, often helps.
Check a few nights of reads before you rely on them. Min plate confidence (0.5 by default) sets how sure the service must be before it reports a plate: lower it to see more reads and more misreads, raise it for fewer, surer reads.
Alerts on plates#
In the camera's AI Guardian tab, expand the plate service. Alert on detections lists the plate labels the service has reported. Choose which ones alert you and at which severity, for example your own cars at low and an unknown plate at night at high. To be told about a vehicle described in words instead, such as "a white van parks across the gate", use an alert rule.
Privacy#
A licence plate can identify a vehicle's owner, so in many places it is personal data. Point the camera at your own gate rather than the public street, keep plate reads only as long as you need, and limit who can see them with groups. Reads are stored on your own server, like the rest of your recordings and events.
Frequently asked questions#
Can I use my existing wide-angle camera?#
Try it, but check the arithmetic first. If the plate comes out well under 100 pixels wide where cars stop, a second, narrower camera on the gate will read far better.
Does it read plates from every country?#
It reads Thai and Latin characters, and lays the text out for Thai, European or US plates. Other scripts aren't read yet.
Do I need a GPU?#
Yes. The plate reader is the Plates add-on. It runs on a machine with an NVIDIA GPU and connects to your server. Contact us for early access.
Related docs#
Licence plates
Searching plate sightings and alerts: Licence plates.
Add-ons
How add-ons run and report: Add-ons.
Recording
Why plates need the main stream: Recording and retention.