Dominevo
Detection

Enrichments

Faces, license plates, classifiers and semantic search — what runs on a track rather than a frame, and the thresholds that decide whether a name is right.

This page covers the second-look steps Dominevo runs on a track, how to enrol a face or a plate, and why an enrichment can be correct and still refuse to name someone.

What an enrichment is

Object detection finds a person. An enrichment answers the next question: which person, what is on that number plate, what kind of animal.

Every enrichment is a child step. It takes a crop of a parent detection — the person's box, the vehicle's box — and runs a model on it.

The crucial property: child steps run per track, not per frame. A face is not recognised sixty times as someone walks past. Each enrichment runs a small, bounded number of times per track, and can be told to try again only when it gets a better look at its subject.

That is what makes enrichment affordable. It also means results arrive shortly after a track appears, not simultaneously with it.

The chains

ParentChainProduces
personface detection → face embeddinga name
vehicleplate detection → plate OCRa plate
vehiclevehicle classifiercar / van / truck
animalanimal classifiercat / dog / fox
animalbird classifierspecies
person, vehicle, animalCLIP embeddingsearchable meaning

Faces, plates and CLIP are on by default. The three classifiers are off — turn them on per camera, where the answer matters. A bird classifier on a driveway camera is inference spent on nothing.

A cheap gate you should know about

A child step does not run on every parent detection. There is a minimum parent score: if object detection is only 40 % sure that blob is a person, running face recognition on it is wasted.

If enrichments seem to run less often than you expected, this is usually why — and it is usually right. The fix, when you genuinely need it, is to improve the parent detection: a better stream slot, a better camera angle, better light.

Face recognition

The chain finds a face inside a person, turns it into a numeric signature, and compares it against identities you have enrolled.

Enrolling

Dominevo collects the faces it sees into a recent-faces buffer, kept for a few days. You build an identity by assigning faces from that buffer to a name.

Enrol more than one face per person, from more than one angle. An identity with a single enrolled sample is excluded from automatic matching entirely — deliberately, because a single noisy enrolment behaves like a magnet and attracts matches that belong to other people. Two is the minimum; more, in varied light and angle, is better.

Why a face was collected but not named

This is the behaviour that most needs explaining, so it is worth stating plainly. A face has to clear several independent bars to be automatically assigned a name:

BarDefault
Face detection confidence0.5Is it a face at all.
Face size — to be collected30 pxBelow this it is discarded entirely.
Face size — to be auto-named48 pxBetween the two it is collected but never auto-named.
Similarity to the enrolled identity0.62How close the match must be.
Margin over the runner-up0.15The best match must beat the second by this much.
Identity sample count2Single-sample identities never auto-match.
Confirmations3 framesIt must agree with itself before the track is assigned.

The size floors are the ones that surprise people. A face smaller than about 48 pixels across cannot be reliably recognised — the signature is noise at that size. Those faces are still captured and shown to you, and you can assign them by hand; Dominevo simply refuses to guess.

Faces that miss auto-assignment but come close appear as a suggestion — a proposed name you can accept or reject, never a silent assignment.

These defaults are deliberately conservative: looser thresholds produce a substantial rate of confidently wrong names. Lowering them gets you more names, and some of them will belong to the wrong person. If face recognition is under-performing, add enrolled samples before you touch a threshold.

Getting better results

In order of effect:

  1. More enrolled samples per identity, in varied light and angle.
  2. A better camera position. Face recognition needs faces — a camera looking down at the tops of heads will never work, at any threshold.
  3. A higher-resolution detection stream, so faces clear the size floor further from the camera.
  4. Only then, thresholds.

License plates

The chain finds a plate inside a vehicle and reads the characters.

Reading a plate is harder than recognising a face, for a reason you cannot tune: the plate has to be legible in the frame. Angle, motion blur, headlight glare at night and distance all destroy it. A camera positioned to watch a driveway is usually not positioned to read a plate.

Two settings help materially:

  • The region grammar. Telling Dominevo which country's plate format to expect lets it validate a read and repair confusable characters — an O that should be a 0. It is the difference between a plausible read and a correct one.
  • Plausibility floors. Very short reads and low-confidence reads are suppressed rather than reported, because a wrong plate is worse than no plate.

As with faces, plates you have enrolled become known vehicles you can build rules on.

Classifiers

Each takes a detection and adds a finer label. All three are off by default.

  • Animal classifier — cat, dog, fox and so on. Worth enabling on a garden camera; pointless on a car park.
  • Bird classifier — species. For a feeder or a garden.
  • Vehicle classifier — car, van, truck. Enough to distinguish a delivery from a visitor.

A classifier answers with its best guess and a confidence. It is genuinely uncertain about unusual subjects, and it will occasionally be confident and wrong — a distant blurry dog can classify as something else entirely. Build rules that tolerate that.

CLIP is the odd one out: it produces no label. It turns what was seen into a numeric representation of its meaning, which is what lets you search your history in words — "person in a red jacket" — rather than by class and time.

It is on by default because it is what makes search useful, and it produces nothing you have to configure.

When enrichment is the expensive part

Detection and enrichment compete for the same accelerator. If your hardware is saturated, the order to cut is:

  1. Turn off classifiers you do not use. Free, immediate.
  2. Turn off enrichments per camera where the answer is irrelevant — plate reading on a garden camera, face recognition on a camera watching a gate from fifty metres.
  3. Only then reduce detection frequency or resolution, because that reduces what you detect at all.

Enrichment is per track, so its cost scales with how much happens in front of your cameras — not with how many cameras you have. A busy camera on a street costs far more than several quiet ones.

Then