# Configure Camera Alarm Trigger Events

Verkada’s camera alarm triggers provide additional information to the monitoring agent to determine if the event is a threat to a person or property. You can also get [alerts](https://help.verkada.com/classic-alarms/events-and-alerts/configure-alarms-event-alerts) based on the alarm triggers configured.

{% hint style="warning" %}
Vehicle detection events are **not video-verified** and will automatically raise an alarm.
{% endhint %}

For more information on the types of alarm triggers see below:

* [Person detection](#h_0f8f2047f8)
* [Line crossing](#h_71ccaf8225)
* [Loitering](#h_f4fc8818d9)

## When should a detection occur?

When a Verkada camera detects an object, green bounding boxes appear over the detected object(s). You can see these bounding boxes when scrubbing through a camera’s [people and vehicle motion search](https://app.gitbook.com/s/ylYKicREo6JpuOJH4teK/analytics/people-and-vehicle-motion-search) or scrubbing through a camera’s historical video.

Detection is determined when the center bottom of a person’s bounding box crosses a line or sits inside a loitering region (in the majority of cases, it is a person’s feet).

![Trigger Point](https://2326462210-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tIFgMOGbY4p9wWaKQhl%2Fuploads%2Fgit-blob-4af1dc445f323aa34ddcfc90e253e3f8489c610d%2Ff67bf5a923d65ebec1716839c6cbda6a2a32cda9.png?alt=media)

Trigger Point

{% hint style="warning" %}
Use line crossing and loitering detection instead of person detection when available. Loitering detection and line crossing are only available on the CF81 and third-generation or newer cameras (models that end in "2" or higher), except the CP52.
{% endhint %}

## Configure alarm triggers

{% stepper %}
{% step %}
**In Verkada Command, go to All Products > Alarms.**
{% endstep %}

{% step %}
**Select a site, at the top left, click Settings.**
{% endstep %}

{% step %}
**Under Settings, go to Alarm Triggers.**
{% endstep %}

{% step %}
**On Camera Events:**

a. Click **Select Cameras.**\
b. Select a camera to configure.\
c. Configure the trigger type(s) as needed.\
d. Click **Done.**
{% endstep %}

{% step %}
**A trigger badge appears on the camera to indicate which trigger type has been enabled.**
{% endstep %}

{% step %}
**(Optional) Repeat step 4 on other cameras as needed.**
{% endstep %}

{% step %}
**Click Done when finished.**

<div align="left" data-with-frame="true"><img src="https://2326462210-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tIFgMOGbY4p9wWaKQhl%2Fuploads%2Fgit-blob-12778901c56cb48a7c099e89d83efe4a2099c6d5%2Fbdd9ba55dcedf8371e29e9946c048b5eca356ffd.png?alt=media" alt="" width="535"></div>
{% endstep %}
{% endstepper %}

## Alarm triggers

### Person detection

Person detection is determined whenever any part of a person’s bounding box intersects with the configured region of interest.\
​

![](https://2326462210-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tIFgMOGbY4p9wWaKQhl%2Fuploads%2Fgit-blob-0229492c11b75e418fe1b9fd7a605b6109d0f9a0%2F8a96c77c20687c749674a427e63ea46eaa0e9e87.png?alt=media)

### Line Crossing (recommended)

Line crossing provides more control and granularity in a trigger by allowing you to define a unidirectional or bidirectional line that a person has to cross before detection occurs.

You can define a maximum of 4 lines and choose the direction you expect people or vehicles to cross.\
​

![](https://2326462210-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tIFgMOGbY4p9wWaKQhl%2Fuploads%2Fgit-blob-ecb2cdf1e8d4b164d80d58630bbbe35d72d391d4%2F336562a42cbe236201a6fd038881003f353163c0.png?alt=media)

### Loitering detection

Loitering detection allows you to define a region with a freeform polygon and define how long a person has to stay in that region before detection occurs.

Define up to 4 freeform polygon regions and define how long a person has to stay in that region before detection occurs.

#### How it works

{% stepper %}
{% step %}
**Once the person’s trigger point intersects the loitering region, the timer begins.**
{% endstep %}

{% step %}
**If the trigger point remains in this region for the configured time (one minute default) a detection event occurs.**
{% endstep %}

{% step %}
**If the person’s trigger point briefly exits and re-enters the loitering region within 4 seconds, the counter continues.**
{% endstep %}

{% step %}
**If the camera loses track of an individual (for example, walking out of frame) or the trigger point is outside the loitering region for more than 4 seconds, the counter resets.**

<div align="left" data-with-frame="true"><img src="https://2326462210-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tIFgMOGbY4p9wWaKQhl%2Fuploads%2Fgit-blob-63ff6d488d8cf0fcaa8968405b80b25792ed4e8c%2F7897160efa8b9ec66bf5e3659cb0d73f13f3c6ca.png?alt=media" alt="" width="793"></div>
{% endstep %}
{% endstepper %}
