Detection Config

The Detection Config page controls which safety rules are active for each camera, and lets you fine-tune per-camera sensitivity overrides alongside the active rule set.

Available Detection Rules

Lokawatch can detect violations across six rule categories. Each rule can be independently enabled or disabled per camera.

Rule What it detects Typical use
Helmet Workers without hard hats in the camera's field of view Construction sites, plant floors, maintenance areas
Vest Workers without high-visibility safety vests Loading bays, outdoor construction, road works
Zone Any person entering a defined restricted zone High-voltage areas, active machinery zones, chemical storage
Marker Missing safety markers or cones in required positions Work-in-progress zones, wet floor areas, excavations
Count Too many or too few people in an area (crowd/isolation) Confined space entry (1-person rule), emergency muster points
Gloves Workers without protective gloves Chemical handling, hot-work stations, electrical work

Configuring Rules Per Camera

Navigate to Detection Config in the sidebar. You will see a panel for each camera registered in the system.

1

Select a camera

Click on a camera's panel or use the camera selector dropdown to expand its detection configuration.

2

Toggle rules on or off

Use the toggle switches to enable or disable each detection rule for that camera. Disabled rules are completely skipped during inference — the AI won't process them, saving compute resources.

3

Set sensitivity overrides (optional)

Each rule also has an optional sensitivity override slider. Leave it at the default position to inherit the camera's confidence threshold. Adjust it to make a specific rule more or less sensitive than the others — for example, making the Zone rule extremely sensitive while keeping Helmet detection at the standard threshold.

4

Save changes

Click Save. Changes take effect on the next inference cycle (within a few seconds).

Disabling all rules for a camera means no alerts will ever fire for that camera. Make sure at least the rules relevant to the monitored area are active. Lokawatch will show a warning if you save a camera with zero active rules.

Global vs Per-Camera vs Per-Rule Sensitivity

There are three levels of sensitivity control, applied in order:

  1. Global confidence threshold — baseline for all cameras and all rules. Set in Global Config.
  2. Per-camera confidence override — overrides the global value for everything on that camera. Set in the camera edit form.
  3. Per-rule sensitivity override — overrides the per-camera (or global) value for a single rule on a single camera. Set here in Detection Config.

If a per-rule override is set, it takes precedence over both the global and per-camera thresholds for that specific rule.

For most deployments, the global defaults work well. Only use per-camera and per-rule overrides when a specific camera or environment has characteristics (lighting, distance, angle) that affect detection quality for particular rules.

Talk to Our Team

Tell us about your operation — we'll respond within 1 business day.