> ## 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.

# Mark an area

> Mark the part of a camera's view that can set off a job's alerts, so activity elsewhere doesn't.

An area is the part of a camera's view that can set off a job's alerts. You draw it on a recent still from the camera. Activity outside the area never sets off that job, so a well-marked area is the best way to get the right alerts.

An area doesn't limit what's sent or analysed: TruRec AI still receives the camera's whole view. To keep part of a view out of TruRec AI altogether, re-aim the camera, or use its own privacy mask setting if it has one.

## When you need one

| Use case | Area |
| - | - |
| [Restricted-area entry](https://docs.trurec.ai/use-cases/restricted-area-entry.md) | Required. The area is what's restricted. |
| [After-hours activity](https://docs.trurec.ai/use-cases/after-hours-activity.md) | Optional. Leave it as **Anywhere in view**, or mark an area so other parts of the view can't set it off. |

## Mark an area

**1. Open the area step**

When you set up a job, choose **Only inside an area I mark**. For restricted-area entry, the area step opens on its own.

**2. Start from a suggested shape**

The area starts on a suggested shape, **The near half** of the view, so the job works straight away. If another start is closer, pick it: **The middle of the view**, **The left side** or **The right side**.

**3. Adjust the corners**

Choose **Draw your own area** (or **Adjust the shape**), then drag each of the four corners to fit the part of the view that matters. On a keyboard, press Tab to reach a corner and move it with the arrow keys. **Reset to preset** puts the suggested shape back. Choose **Done** when it fits. A rough shape is fine to start; you can refine it after a few days of alerts.

**4. Save it**

Save the job. The summary tells you the job only applies inside the area you marked.

![The Restricted-area entry panel with the area editor open. On a camera still of a stockroom door, an orange shape has four round corner handles: two moved up to the foot of the door, two still at the bottom corners of the view. Below: Drag a corner to move it, with Reset to preset, Cancel and Done buttons.](https://mintcdn.com/trurec-ai-public-docs/9VQKp94LpB0n4hkt/images/use-cases/drawing-area-in-progress.png?fit=max\&auto=format\&n=9VQKp94LpB0n4hkt\&q=85\&s=acd5375bee4f08527f42dd15ca220573)

Adjusting an area: two corners dragged to the foot of the stockroom door, two still on the near half of the view, with Reset to preset, Cancel and Done.

## Tips for a good area

* **Include where people come in.** An area that only covers the middle of a room can miss someone at the edge.
* **Cover the floor people walk on,** not just the wall or doorway behind them.
* **Leave out what moves but doesn't matter,** such as public footpaths, windows, screens and reflective floors. This stops them setting off alerts. It doesn't stop them being sent to TruRec AI.
* **Leave a little margin.** People near the edge of the view can be partly cut off.
* **Mark it again if the camera moves.** If a camera is knocked or re-aimed, its old area no longer lines up.

![A camera still of a shop floor with a door in the middle and a window to its right. An orange area covers only the floor in front of the door.](https://mintcdn.com/trurec-ai-public-docs/9VQKp94LpB0n4hkt/images/use-cases/area-good.png?fit=max\&auto=format\&n=9VQKp94LpB0n4hkt\&q=85\&s=b54497d553b30b77179758514a86b5e1)

A good area: the floor in front of the door, and nothing else.

![The same camera still. The orange area stretches over most of the view, including the window and the footpath at the right edge.](https://mintcdn.com/trurec-ai-public-docs/9VQKp94LpB0n4hkt/images/use-cases/area-poor.png?fit=max\&auto=format\&n=9VQKp94LpB0n4hkt\&q=85\&s=eb579cac909dc44d1ebf0dd80addae3f)

A poor area: it takes in the window and the footpath too, so people walking past can set it off.

## Lines

[Boundary crossing](https://docs.trurec.ai/use-cases/overview.md#available-use-cases) uses a line instead of an area. It starts on a suggested line. Choose **Adjust the line** and drag each end to where the boundary is, then choose which direction of crossing matters: the arrow marked **In** shows the way in, and **Flip direction** turns it round.


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