Dominevo
Detection

Zones

Drawing zones once and using them many times — include and exclude rules per pipeline stage, class filters, overlap thresholds and tripwires.

Zones let you stop Dominevo telling you about the pavement without also stopping it telling you about your driveway.

Geometry and behaviour are separate

This is the design, and understanding it saves you from drawing the same shape three times.

A zone is a shape with a name. "Driveway" is a polygon. It has no opinion about what should happen there.

A rule says what a shape does, at one stage of the pipeline. "Ignore motion in Street." "Only report people inside Driveway." "Do not report vehicles in Neighbour's Garden."

One zone can back several rules at once. The polygon you drew as "Driveway" can simultaneously exclude motion, include person detections, and be counted by occupancy — as one shape, edited in one place.

Zone coordinates are stored as fractions of the frame, so a zone survives a resolution change or a switch to a different stream slot. Draw it once.

Include and exclude

Every rule is one of two modes, and the difference in behaviour is larger than the words suggest.

Exclude — a blacklist. Anything inside these zones is dropped. Everywhere else still works normally.

"Ignore everything in Street."

Include — a whitelist, and it is exclusive. As soon as one include rule exists for a stage, only things inside an included zone pass that stage. Everywhere you did not draw becomes dead space.

"Only tell me about Driveway and Front Door."

Adding a single include rule silently turns off the entire rest of the frame for that stage. That is what it is for — but it is the most common source of "detection suddenly stopped working". If detections vanished right after you drew a zone, look for an include rule.

Start with exclude. It is additive and reversible: each rule removes one nuisance and leaves everything else alone. Reach for include only when you genuinely care about a small part of a large frame — a doorway in a wide shot, one bay of a car park.

Rules apply per stage

The same zone can behave differently at different stages:

StageWhat a rule there does
MotionGates whether motion in that area counts at all.
DetectionGates whether a detected object is reported.
PackageRestricts where package detection looks.

The distinction matters. Excluding at the motion stage is the cheap one — motion never fires, detection never wakes, no inference is spent. Excluding at the detection stage costs you the inference and then throws the result away.

So: if a whole region of the frame is a permanent nuisance — a road, a tree that moves in wind, a neighbour's window — exclude it at the motion stage. Use detection-stage rules for the finer distinctions that motion cannot make.

Class filters

A rule can be narrowed to specific classes. This is what makes zones precise rather than blunt:

Exclude person in Street — keep vehicles, because a car in the street is the thing you want to know about.

Include vehicle only in Driveway — a person walking past does not matter, a car pulling in does.

Leave the class filter empty and the rule applies to everything.

How much of an object must be inside

An object near a boundary is partly in and partly out, so a rule needs a threshold: the percentage of the detection's box that must fall inside the zone. The default is 85 %.

Which way to move it:

  • Lower it when things at the edge of a zone are being missed — someone standing at the boundary of your driveway.
  • Raise it when things that merely pass the edge are being reported — someone walking along a pavement that clips the corner of your zone.

There is a subtlety worth knowing about people: a person's bounding box is tall, and their feet are where they actually are. A box drawn around someone standing just outside your driveway can overlap it substantially. If a zone keeps catching people who are next to it rather than in it, raise the threshold and consider redrawing the zone to hug the ground rather than the scene.

Where a step produced a segmentation mask, a rule can be told to use the mask instead of the box — precise, and only useful when you have segmentation enabled.

Tripwires

A zone can also be a tripwire: an open two-point line rather than a closed region. It answers a different question — "did something cross this" rather than "is something inside this".

Use one where the direction of travel matters and the area does not: a gate, a threshold, the mouth of a driveway. A tripwire across an entrance fires when someone comes through it and stays quiet while they stand around next to it, which a polygon cannot express.

Zones and motion zones

Two different things, and both appear in this documentation.

Configured whereEffect
ZoneIn DominevoFilters what Dominevo reports.
Motion zoneOn the cameraRestricts where the camera reports motion at all.

A camera-side motion zone is the cheapest possible filter — the camera never tells Dominevo, so nothing wakes. If your camera supports it (see Vendor notes) and you have a region that is permanently irrelevant, that is the best place to say so.

Dominevo zones are more expressive: per class, per stage, several rules on one shape. Use both — the camera for the crude permanent exclusions, Dominevo for everything that needs to know what it is looking at.

Draw zones after you have watched, not before

The temptation is to draw zones the moment a camera is added, based on what you think the scene contains. Resist it.

Run the camera for a day, look at what it actually detected and where, and then draw. You will discover that the nuisance is not where you assumed it was — usually it is a headlight sweep, a reflection, or one specific patch of vegetation — and you will draw two accurate zones instead of six speculative ones.

Then

  • Detection — the settings zones sit alongside.
  • Notifications — rules that fire on what survived your zones.