> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trurec.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Restricted-area entry

> Get an alert when someone enters an area they shouldn't, such as a plant room, a stockroom or a closed-off section.

*Tell me when someone enters an area they shouldn't.*

You mark the restricted area on a camera's view. TruRec AI alerts you when a person enters it, during the hours you choose.

## Good for

* Plant rooms, server rooms and switch rooms
* Stockrooms and back-of-house areas
* Closed-off sections, such as a mezzanine or a construction zone
* Anywhere nobody should be outside a shift

## Set it up

**1. Mark the restricted area**

The area is required, because it's the whole point of the job. It starts on a suggested area, the near half of the view, so the job works straight away. Choose **Draw your own area** and drag the corners to fit the part that's restricted, on a still from the camera. A rough shape is fine to start. Only activity inside the area can set off this job. The rest of the view is still sent and analysed. See [Mark an area](https://docs.trurec.ai/use-cases/drawing-zones.md).

![A camera still of a stockroom: shelving on the left and a door on the right. An orange four-cornered area covers the floor in front of the door, with an Adjust the shape button in the corner.](https://mintcdn.com/trurec-ai-public-docs/9VQKp94LpB0n4hkt/images/use-cases/restricted-area-stockroom-door.png?fit=max\&auto=format\&n=9VQKp94LpB0n4hkt\&q=85\&s=328ea17f6e808af05cfe49ffad300399)

A restricted area marked on the floor in front of a stockroom door.

**2. Choose what should count**

Choose **People**. Vehicle detection isn't available yet.

**3. Choose when it matters**

Choose **All day, every day** for somewhere nobody should ever be. Choose **Only during hours I set** if the area is fine during a shift and not outside it. Outside those hours, entries are still recorded as detections, but they don't send an alert.

**4. Choose how urgent it is**

Entry into a restricted area is almost always urgent, so **Urgent** is the default: alerts are emailed to your alert list. **In-app only** keeps alerts in Alerts without emailing anyone, as long as none of your other restricted-area entry jobs is **Urgent**. Urgency applies to all your restricted-area entry jobs together. See [Urgency applies to the whole use case](https://docs.trurec.ai/alerts/notification-routing.md#urgency-applies-to-the-whole-use-case).

## What you'll get

Each alert shows the camera and the time, usually with a short clip. Before you save, you'll see a summary, for example:

> On `plant-room`, you'll be alerted when a person enters the area you marked, all day, every day.

## Limits

* It can't tell you who someone is, or whether they were allowed to be there.
* It won't call anyone. Urgent alerts are emailed to your alert list.
* It only detects people. Vehicle detection isn't available yet.
* It can't see through glare or heavy rain, or past a camera that's been knocked out of position.
* **Not validated at night yet.** We haven't finished measuring how well it works. So far it's been tested on daytime indoor scenes. At night, on infrared, or on high-mounted cameras, expect more missed and wrong alerts.

## Tips

* **Mark where people walk in,** not just the middle of the room.
* **Leave out doorways people only walk past,** and any windows or glass that reflect movement.
* **Getting alerts during a shift?** Set hours, so normal working activity doesn't alert.

See [Reduce false alerts](https://docs.trurec.ai/alerts/tuning-false-positives.md) for more.

> [!NOTE]
>
> **On Enterprise:** use cases are planned with you, so settings and limits can differ from this page.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.