--- title: "Perimeter Intrusion Detection (PID) Setup Guide" slug: "perimeter-intrusion-detection-pid-setup-guide" updated: 2024-10-29T21:26:40Z published: 2024-10-29T21:26:40Z canonical: "ametawiki.ametagroup.com/perimeter-intrusion-detection-pid-setup-guide" --- > ## Documentation Index > Fetch the complete documentation index at: https://ametawiki.ametagroup.com/llms.txt > Use this file to discover all available pages before exploring further. # Perimeter Intrusion Detection (PID) Setup Guide ### Description: Perimeter Intrusion Detection (PID) is used to monitor sensitive areas that cannot be casually entered, exited, or crossed. In this scenario, the system will trigger an alarm if a target object crosses the detection line. **Note:** Face Detection, Pedestrian & Vehicle, Perimeter Intrusion, Line Crossing, Object Detection, Cross Counting, Crowd Density, Queue Length, and License Plate functions **cannot be used simultaneously** (you can switch between them using the **AI Schedule** function). The Pedestrian & Vehicle (PDVD) AI function is enabled by default. If this is your first time setting up this AI function, you must disable PDVD first. To do this, select 'Pedestrian & Vehicle,' choose the channel you want to configure, uncheck the box to disable PDVD, and then click the 'Apply' button**.** ### Compatible List: | Type | Model | Version | | --- | --- | --- | | NVR | NVR3104-4P | V8.2.4.1-20240914 | | NVR3108-8P | | NVR3216-16P | | NVR3216-16P-AI | | NVR3432-16P-AI | | NVR3432(No POE) | | XVR | XVR-3104-AI | V8.2.4.1-20240925 | | XVR-3108-AI | | XVR-3216-AI | 20240618 | | XVR-3432-AI | | IP Cameras | CAM-IP3058-180-PV-AI | V31.35.8.2.4.1_240807 | | CAM-IP3135W-A-SI-28-AI | | CAM-IP3135B-A-SI-28-AI | | CAM-IP3135W-AA-SI-Z-AI | | CAM-IP3335W-AA-SI-Z-AI | | CAM-IP3155B-PV-28-AI | | CAM-IP3155B-PV-Z-AI | | CAM-IP3155W-PV-28-AI | | CAM-IP3155W-PV-Z-AI | | CAM-IP3335W-28-AI | | CAM-IP3138W-A-SI-28-AI | | CAM-IP3138B-A-SI-28-AI | | CAM-IP3138W-AA-SI-Z-AI | | CAM-IP3158W-PV-28-AI-S3 | | CAM-IP3174-PV-28-AI | | CAM-IP3178B-PV-28-AI | | CAM-IP3178-PV-Z-AI | | CAM-IP3338W-AA-SI-Z-AI | | CAM-IP3338W-28-AI | | CAM-IP3355W-PV-28-AI | | CAM-IP3355W-PV-Z-AI | | CAM-IP3358W-PV-28-AI | | CAM-IP3358W-PV-Z-AI | | CAM-IP3638-PV-4X-AI | | CAM-IP3635-33X-AI | | CAM-IP3735W-AA-SI-Z-AI | | CAM-IP3738W-AA-SI-Z-AI | | CAM-IP3755W-PV-Z-AI | | CAM-IP3758W-PV-Z-AI | | CAM-IP3778-PV-28-AI | ### Related question: - How many PID rules I can setup for each channel? - How to active deterrence and siren? - How do I search for AI events and watch their playback? ### On the Local Monitor 1. Click on **Main Menu** icon in the bottom left corner and click on **Setup** button. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/698fbf35-46b1-42c8-9a01-0506761ce4e8/Images/Documentation/perimeter-intrusion-detection-pid-setup-guide-image-vq70cotr.png) 1. Select **Detection Setup** from the **AI** Section. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/698fbf35-46b1-42c8-9a01-0506761ce4e8/Images/Documentation/perimeter-intrusion-detection-pid-setup-guide-image-864jwwj4.png) 1. Click on '**Perimeter Intrusion**,' select the channel you want to configure, check the box under the '**Switch**' column, and then click the '**Apply**' button. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/698fbf35-46b1-42c8-9a01-0506761ce4e8/Images/Documentation/perimeter-intrusion-detection-pid-setup-guide-image-9pf1mspy.png) 1. Click the **gear icon** to access the setup page. ![](https://cdn.document360.io/698fbf35-46b1-42c8-9a01-0506761ce4e8/Images/Documentation/perimeter-intrusion-detection-pid-setup-guide-image-klamw7ih.png) 1. Use the drop-down box to select the **Channel**, choose the **Detection Target**, and select your **Rule Number**. Then, left click anywhere inside the video frame and drag to draw the first line of the area. Drawing will finish when the area is closed or when the line count reaches 8. The rule number will appear at the starting point of the rule. Check the box to activate the rule for editing. **Enable the rule**. Select the **Action Type**; we recommend enabling both 'Appears' and 'Cross' for PID to achieve accurate results. Select the **Rule Type** (crossing direction) and click the '**Save**' button. Repeat this step to add additional rules (areas). You can set up a **maximum of 4 rules** per channel and adjust the detection sensitivity or leave it at the default setting. ![A close-up of a camera Description automatically generated](https://cdn.document360.io/698fbf35-46b1-42c8-9a01-0506761ce4e8/Images/Documentation/perimeter-intrusion-detection-pid-setup-guide-image-zqn5cq2u.png) ### On the NVR’s Web Page Click **Remote setting**, select **Setup** from the **AI** section, click on **Perimeter Intrusion** - Select the **Channel** you want to configure. - **Enable** the function. - Choose the **Detection Target**. - Choose your **Rule Number**. Then, left click anywhere inside the video frame and drag to draw the first line of the area. Drawing will finish when the area is closed or when the line count reaches 8. The rule number will appear at the starting point of the area. Check the box to activate the rule for editing. - **Enable** the rule. - Select the **Action Type**; we recommend enabling both '**Appears**' and '**Cross**' for PID to achieve accurate results. - Select the **Rule Type** (crossing direction). - click the '**Save**' button. Repeat this step to add additional rules (areas). You can set up a **maximum of 4 rules** per channel. You can adjust the detection sensitivity or leave it at the default setting. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/698fbf35-46b1-42c8-9a01-0506761ce4e8/Images/Documentation/perimeter-intrusion-detection-pid-setup-guide-image-em0fnzhh.png) **Note:** You can also set up this AI function on the camera’s web page, and all saved settings will be synchronized with the NVR. The setup process is very similar to configuring it on the NVR’s web page.