Vigiora

Denne side findes endnu ikke på Dansk. Den vises på engelsk.

Motion zonesSiden 1.13.0

Choose where movement counts as motion, for example so passing cars on a street do not start clips, alerts or AI.

I appen: /monitors

A motion zone is a shape drawn over part of a camera's picture. It decides whether movement there counts as motion. From Vigiora Server 1.13.0, each camera can have up to 8 zones. A zone has 3 to 12 corners and an optional name. Its corners are stored as fractions of the picture, so a zone stays in place when the camera's resolution changes.

The usual use is a camera that faces a street. Draw the street as a zone, and cars and people on the pavement no longer start clips, alerts or AI analyses. They also stop using your AI allowance.

You do not need to set anything up. A camera without zones works as before.

The Motion zones tab, with a sample zone drawn over the road. The picture is a stock street scene.

Draw a zone#

Admins and operators who manage the camera can draw zones. This is the same as for privacy masks.

  1. Open the Motion zones tab

    Open the camera, click Edit, then open the Motion zones tab. It is next to Privacy masks.

  2. Choose a mode

    Pick Ignore motion in these areas or Only motion in these areas counts. Each choice says in one sentence what it does.

  3. Draw the shape

    Click Draw a zone, then click the corners on the picture (3 to 12). Double-click, or click the first corner, to close the shape. Press Esc to cancel.

  4. Adjust it

    Click Select, then click a zone to move its corners. You can name a zone in the list, or delete it.

When a camera has 8 zones, the tab says so and you cannot add another. A shape needs an area, and every corner must be inside the picture.

Zones are drawn over the camera's live picture, which refreshes every 5 seconds. They are rose in the first mode and green in the second. Privacy masks are black.

A change applies within seconds.

From Vigiora Server 1.14.0, naming a zone after a place, such as "Street", also helps the assistant find the right camera when you ask for an alert there. See Name a place, not a camera.

The two modes#

Each camera has one mode, and it applies to all of its zones.

  • Ignore motion in these areas is the default. Movement inside the zones does not count.
  • Only motion in these areas counts. Movement outside the zones does not count. Until you draw at least one zone, all movement counts.

If a camera has no zones, all movement counts, whatever its mode.

What zones affect#

Movement that a zone leaves out is not motion. So none of the following starts from it:

  • a motion event
  • a recording that starts on motion, or an HD clip of the periods with movement
  • an AI Guardian analysis, so no AI allowance is used
  • an alert that comes from the motion
  • an AI Live check
  • a patrol that holds or follows the movement

A PTZ patrol that follows motion never turns toward a left-out area. See PTZ.

A person, vehicle or animal that a detector reports can also start a Guardian analysis on its own. If the centre of its box is in a left-out area, it does not start one. The detection is still stored.

What zones do not affect#

  • Pictures and video. Zones hide nothing. The picture, recordings, snapshots and live video stay the same. To hide part of the picture, use privacy masks.
  • The camera's own motion events (ONVIF). They say only that something moved, with no position, so zones cannot apply to them.
  • Object detections. They are still stored, and alert rules on an object label still fire.
  • Sound. Voice and sound alerts do not depend on zones.
  • Analytics. Analytics lines and zones have their own shapes.

Two more limits to know:

  • Zone edges are precise to about a sixtieth of the picture.
  • The Motion threshold is still a share of the whole picture. A small zone in Only mode needs the same size of moving thing as before.

Zones and privacy masks#

Motion zonesPrivacy masks
What they doDecide which movement counts as motionHide part of the picture
The picture and recordingsUnchangedPainted black on pictures and clips
Use them toStop a street from starting clips, alerts and AIHide a neighbour's window or a desk
Shown in the editor asRose or green shapesBlack shapes

You can use both on the same camera.

API#

From API 1.119.0, GET and POST /api/v1/cameras/{camera_id}/motion-zones list and add zones, and GET, PATCH and DELETE /api/v1/cameras/{camera_id}/motion-zones/{zone_id} read, change and remove one. GET and PATCH /api/v1/cameras/{camera_id}/motion-zone-settings read and set the mode, ignore or only. Reading needs viewer permission on the camera. Writing needs manager permission. While human in the loop is on, every change made through the API or an AI assistant asks for confirmation first. The feature flag is motion_zones.

Rediger denne side på GitHub