# AI Event Detection — People, Vehicles, Faces, Plates, Fire and Smoke

## Overview

This is where **edge AI video analytics** earn their keep. Instead of alerting on every pixel that
moves, OWL EYE ALERTS analyses the video and tells you *what* moved:

| Model | Detects | Typical use |
|---|---|---|
| Person | Human figures | After-hours intrusion, occupancy counting |
| Vehicle | Cars, vans, trucks, motorcycles, and class | Gate control, forecourt monitoring |
| Face | Recognised or unknown faces | Access review, watch-list alerts |
| LPD | Number plates | Vehicle access logs, parking enforcement |
| Fire / smoke | Flame and smoke signatures | Warehouses, waste yards, plant rooms |

Each plan includes a set number of models (for example two on an entry plan), so choose the two
that remove the most noise for your site.

## Prerequisites

- Cameras added and streaming the **main** stream — see [CCTV Camera Configuration](/docs/camera-configuration/).
- Enough CPU headroom; AI is the heaviest workload. Check
  [System Requirements](/docs/system-requirements/).
- A clear view of the area at the right height. A camera looking through branches or at a steep
  angle will perform poorly regardless of settings.

## Step-by-step instructions

### Step 1 — Enable the model for the site

1. Open **AI → Models**.
2. Enable the models your plan includes. Disabled models consume nothing; enabled models load
   once and serve every camera you assign them to.

### Step 2 — Assign models to a camera

1. Select the camera and open **AI settings**.
2. Tick the models to run on this camera. Start with **Person** only.
3. Save and confirm the camera tile shows an AI badge.

### Step 3 — Draw detection zones

Zones are the single biggest improvement you can make to alert quality.

| Zone type | Purpose |
|---|---|
| Include | Only objects inside this polygon trigger events |
| Exclude | Ignore the road, the footpath, a swaying tree |

Practical rules:

1. Cover the area that matters, plus a margin for someone stepping in.
2. Never include a public footpath or road unless you want traffic alerts.
3. Re-draw zones after any camera repositioning.

### Step 4 — Set sensitivity per camera

| Scene | Sensitivity | Min object size |
|---|---|---|
| Indoor corridor | Medium | Small |
| Outdoor entrance | Medium-high | Medium |
| Car park at night | High | Medium-large |
| Loading bay with forklifts | Low | Large |

If you get alerts for rain, headlights or insects, lower sensitivity and raise the minimum object
size before you consider disabling the model.

### Step 5 — Add a schedule

1. Open the camera's **Schedule** tab.
2. Set AI to run **after hours only** for intrusion use cases, or 24/7 for safety models such as
   fire and smoke.
3. Keep fire and smoke always on; they are not nuisance alerts.

### Step 6 — Test with a walk-through

1. Walk into the zone from the direction a real intruder would.
2. Confirm an event is created with a thumbnail and the model name.
3. Repeat at the edge of the zone; if it is missed, widen the zone or raise sensitivity.

## Configuration examples

| Camera | Models | Zone | Schedule | Sensitivity |
|---|---|---|---|---|
| Gate — entry | Person, Vehicle | Entry lane only | 24/7 | Medium-high |
| Gate — plate | LPD | One lane, tight box | 24/7 | High |
| Warehouse | Fire / smoke | Whole floor | 24/7 | Fixed |
| Reception | Person | Waiting area, excluding door mat | 09:00–19:00 | Medium |
| Yard | Person | Fence line and gate | 19:00–07:00 | High |

## What you should see

- Events appear in the timeline **labelled with the model** that produced them, not just "motion".
- A person walking past the exclusion zone produces nothing.
- The server performance dashboard rises when models are enabled, then settles.
- Fire and smoke test videos (or vendor test clips) produce events with a high confidence score.

## Troubleshooting

| Symptom | Cause | Fix |
|---|---|---|
| No AI events at all | Model not enabled for the plan or the camera | Check **AI → Models** and the camera's AI tab |
| Constant person alerts at night | Insects, rain or headlights | Narrow zones, raise minimum size, add IR-cut tuning on the camera |
| Faces not recognised | Camera too far or backlit | Move the camera closer to eye level, add light |
| Plates unreadable | Wrong lens or angle | Use a dedicated LPD camera with tight framing at plate height |
| CPU at 100% | Too many models at high resolution | Run AI on fewer cameras or at lower FPS, split across servers |
| Events but no alerts | Alerts not configured | Continue to [Alert Configuration](/docs/alert-configuration/) |

## Related guides

- [Alert Configuration](/docs/alert-configuration/)
- [Search & Investigation](/docs/search-and-investigation/)
- [CCTV Camera Configuration](/docs/camera-configuration/)
- [System Requirements](/docs/system-requirements/)

**Next step:** [Alert Configuration](/docs/alert-configuration/) →