Vigiora

Denne artikkelen finnes ikke på Norsk bokmål ennå. Her er den på engelsk.

Cut false alerts: motion, shadows, person confirmation and rules in plain words

A practical guide to fewer false alerts in Vigiora. Tune motion detection, let it ignore lighting and shadows, confirm person alerts with object recognition, use cooldowns, and write alert rules that say exactly what you mean.

· 5 min lesing · Vis som Markdown

Del
The Alerts page filtered to Guardian alerts, grouped by day, with a snapshot for each alert

An alert that cries wolf is worse than no alert: after a week of false alarms, people stop looking. This guide goes through every setting in Vigiora that decides whether something becomes an alert, in the order things happen.

How an alert happens#

In Vigiora, an alert from a camera goes through three stages:

  1. Motion detection notices that something moved. On its own, it shows no alert.
  2. On an AI camera, the motion sends a short clip to the AI. Guardian describes the scene in plain words, at most once every 5 minutes per camera.
  3. Guardian checks your alert rules against that description. Only a rule that matches becomes an alert, a push notification and, if you ask for it, an email.

Each stage is a place to cut noise. Start at the top.

1. Update to 1.6.11#

Vigiora Server 1.6.11 made motion detection much quieter. Servers update themselves, so check System → Updates or the version in the app before you tune anything. From 1.6.11:

  • The changed area must be one connected area of the size you ask for. Glints on water and a few flickering spots no longer add up to motion.
  • Shadows and patches of sunlight are recognised: where a surface keeps its texture and only gets darker or brighter, it isn't counted.
  • When the light changes, such as a cloud passing, motion must be bigger than usual and seen on two checks in a row. A real person is still picked up on the next check, about 2 seconds later.

These come on top of what motion detection already did: it ignores a lamp switching on or the camera's auto-exposure, learns which parts of the picture are always busy, such as a tree or a TV, and doesn't count it when almost the whole picture changes at once, for example when the camera switches to night mode.

2. Tune motion detection#

Each camera's Motion Detection card, on the AI Guardian tab of its editor, has two sliders.

The Motion Detection card expanded, with the Motion threshold slider at 25 and the Check interval slider at 2 seconds
Motion threshold and Check interval. Screenshot from a Vigiora demo server with sample data.
  • Motion threshold (default 25) is how much of the picture must change. 25 means 1.25% of the frame; a person crossing a room is roughly 3–10%. If trees, rain or shadows still cause events after 1.6.11, raise it to 35 or 40. If a person walking past is missed, lower it to about 15.
  • Check interval (default 2 seconds) is how often it looks. Keep 2 seconds where brief movement matters; raise it to 5 seconds on cameras where it doesn't, to save CPU.

Two more tips:

  • Point the camera away from the street. Cars and people behind a gate are real moving objects, and motion detection counts them. Aiming the camera so the street is out of view removes them for good.
  • Give the camera a sub-stream. Motion detection uses it, so checks stay cheap even on 4K cameras.

3. Confirm people with object recognition#

Guardian's descriptions are good, but an AI can still read a moving shadow or a coat on a chair as a person. Vigiora can ask for a second opinion.

Object recognition is a connected service that finds the things you list in plain words, such as person or white van. It is a preview: it needs a machine with an NVIDIA GPU, and it is available on request. With it on a camera:

  • Since 1.6.10, Guardian gets what the detector reported in the same moments as the clip and checks it against the video.
  • From 1.6.11, a rule about people has the option Only alert when the object detector also sees a person, on by default. When the detector watched the clip and saw nobody, the description is kept but no alert is sent. The Guardian entry says Not alerted: the object detector saw no person, with the rule's name.

A rule counts as being about people when its name or video rule mentions a person: person, someone, man, woman, child, intruder, visitor and similar words. Untick the option on a rule when people are too small for the detector to see, for example at the back of a large room.

Without the detector, nothing changes: your rules alert as before.

4. Use cooldowns#

A rule that fires every few minutes during one long event is noise too. Each rule has a Severity that sets how long it waits before it can fire again:

SeverityWaits before firing again
low30 minutes
normal10 minutes (the default)
highnever

Custom cooldown (s) overrides it with your own number of seconds. A good pattern: high for the one rule that must never be held back, such as a person inside after hours, and normal or low for rules about things that tend to last, such as a vehicle parked at the gate.

A camera's Guardian alert rules with one rule, its video rule, email alert, severity high and a cooldown of 600 seconds
A rule with its severity, cooldown and last fired time. Screenshot from a Vigiora demo server with sample data.

5. Write rules in plain words, precisely#

Alert rules are written in your own words, and Guardian reads them like a person would. Precise words give precise alerts.

  • Say who, what, where and when. "Alert if a person is inside the stockroom between 21:00 and 07:00" beats "alert on intruders". There is no schedule screen: put the hours in the rule.
  • One situation per rule. Two short rules are easier to tune than one long one, and each has its own cooldown and last fired.
  • Say what to ignore. "Alert if a car stops at the gate for more than a minute; ignore cars passing on the road."
  • Use audio rules for sounds. With voice detection on the camera, an Audio rule such as "Alert if someone shouts for help or a glass breaks" works on what is heard. When a rule has both a video rule and an audio rule, both must match.
  • Name it well. The name appears in the alert, so back door after hours tells you more on a lock screen than rule 2.

Remember the timing: a rule can only fire when Guardian makes a description, at most once every 5 minutes per camera. For instant alerts on people or vehicles, a connected detection service has its own Alert on detections switch.

6. Check what happened#

The Guardian History tab with a search box and scene descriptions, each with a thumbnail and a time
Guardian → History shows what the AI saw, alert or not. Screenshot from a Vigiora demo server with sample data.
  • Guardian → History lists every description, with or without an alert. If a description is right but no alert came, read your rule again. If a description is wrong, the motion or the camera's view is the place to look.
  • last fired on each rule tells you whether it ever matches.
  • The Alerts page has a Guardian filter to see only rule alerts, grouped by day.
  1. Motion detection

    Settings and tuning tips: Motion detection.

  2. Alert rules

    Options, cooldowns and person confirmation: Alert rules.

  3. Object recognition

    The preview service and how to write its prompts: HAL services.

All of this works on the free plan's 2 AI cameras, except object recognition, which is a preview on request.

Del

Prøv det på dine egne kameraer

Vigiora Server er gratis med ubegrenset antall kameraer. AI på 2 kameraer er gratis i kampanjeperioden. Installer det på en Linux-maskin med én kommando.