Share
This guide explains how to set up AI detections on an X Series – Lorex Connect XC 4K NVR. For each detection type, you will find what it detects, the situations it is best suited for, and step-by-step setup instructions with full menu navigation.
Applicable models:
- 8-Channel: RNE01P-82B-AB1 and RNE01P-8ZB-AB1.
- 16-Channel: RNU01P-64B-AB1 and RNU01P-6ZB-AB1.
- 32-Channel: RNU01P-C8B-AB1 and RNU01P-CZB-AB1.
TABLE OF CONTENTS
- Before You Begin
- Step 1: Enable AI Multi-Target Detection
- Smart Analysis Events
- Behavior Analysis
- Environmental Safety Analysis
- Recorder-Based Analysis
- Helpful Tips
Before You Begin
All AI detection settings are found under Main Menu > Settings > IVS. The IVS left-side menu groups detections into these categories:
- AI Multi-Target: Turns on person, vehicle, and face detection for each camera.
- Smart Analysis: Event-based detections, such as intrusion, line crossing, and loitering.
- Behavior Analysis: Statistics, such as people counting reports and heat maps.
- ES Analysis: Environmental safety detections, such as smoke and fire.
- Local Smart Analysis: Detections processed by the recorder instead of the camera.
Which Detection Should I Use?
| Detection | What you draw | Best used for |
|---|---|---|
| Person and Vehicle Detection | Detection frame | Any camera where you want to search recordings for people or vehicles later |
| Face Detection | Detection frame | Entrances, reception desks, and checkout counters where faces are seen up close |
| Smart Motion Detection | Area | General-purpose alerts on almost any camera, without false alerts from trees, shadows, or rain |
| Intrusion Detection | Area | Restricted areas such as yards, storage areas, and closed sites after hours |
| Line-Crossing Detection | Line with direction | Fence lines, property lines, gates, and driveway entrances |
| Dual-Line Crossing Detection | Double line with direction | Perimeters where you want fewer false alerts than a single line |
| Loitering Detection | Area | Entrances, back doors, ATMs, and parking lots where people should not linger |
| Wrong-Way Detection | Area with direction arrow | One-way parking lots, drive-thru lanes, and one-way roads |
| Unauthorized Parking Detection | Area | Fire lanes, loading zones, and no-parking areas |
| People Counting | One line | Store and building entrances to track visitors in and out |
| Regional Population Detection | Area | Lobbies, waiting rooms, and spaces with occupancy limits or minimum staffing |
| Perimeter Detection | Area with direction | Building or property boundaries where entering or leaving matters |
| Heat Map | Grid | Retail floors, to see where customers spend the most time |
| Smoke and Fire Detection | Area | Warehouses, storage rooms, and outdoor yards (not a replacement for smoke alarms) |
| Local Intrusion Detection | Area | Adding intrusion detection to cameras without built-in AI |
| Face Recognition | None (uses face libraries) | Identifying known people, such as staff, against a saved face library |
Settings Shared by Most Detections
Most Smart Analysis, ES Analysis, and Local Smart Analysis detections use the same three tabs. Only the Detection Area tab changes between detection types.
Event Actions tab: Choose what happens when the detection is triggered. Available options may vary by detection type.
- Email: Send an email notification. Email must be set up under Main Menu > Settings > Network > Email.
- Buzzer: Sound the recorder's internal buzzer.
- Enable Event Recording: Record video when the event occurs. Set the Post-Record (sec) time and the Recording Channel.
- Full Screen: Automatically display the camera in full screen when the event occurs.
- Speaker: Play a warning message or siren through a connected audio device.
- Advanced options include FTP, PTZ, Enable Alarm Out, and Enable Camera Alarm Out.
Detection Area tab: Draw where the detection is active. Most detection types also include:
- Show Detection Area on Live View: Displays the drawn detection boundary on the video stream.
- Audible Alarm, Red and Blue Light Alarm, and White Light Alarm: Camera deterrence features (supported cameras only).
Schedule tab: By default, detections are active at all times. Click and drag across the grid to set when the detection is active, or use the All and day buttons to apply or clear whole days. Click Copy to apply the schedule to other channels, then click Apply.
Step 1: Enable AI Multi-Target Detection
AI Multi-Target turns on Person Detection, Vehicle Detection, and Face Detection for each camera. Start here before configuring other detections. Person, vehicle, and face detection only work on a camera when they are enabled here. Once a camera is detecting people, vehicles, or faces, you can search the results with Smart Search.
To set up AI Multi-Target:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click AI Multi-Target from the left-side menu.
- Select the Channel.
- Draw the detection frame: click inside the image and drag to create the frame, then right-click to finish. Click Remove All to start over.
- Select the Parameter Configure tab.
- Turn on Person Detection, Vehicle Detection, and/or Face Detection.
- Optional: Turn on Person Detection Attributes and Vehicle Detection Attributes to search by attributes such as clothing color or vehicle type in Smart Search.
- Optional: Turn on Show Detection Area on Live View, and set Bounding Box to Full Frame to show boxes around detected targets.
- Click Apply to save the settings.
- Select the Schedule tab to set when detection is active. By default, it is active 24 hours a day. Click Apply to save any changes.
To review results, see Smart Search (AI Application) in the GUI Essentials guide.
Smart Analysis Events
Smart Analysis detections trigger events when a person, vehicle, or behavior is detected in the area or line you draw. All Smart Analysis detections are found under Main Menu > Settings > IVS > Smart Analysis, with a separate tab for each detection type.
Smart Motion Detection
Smart Motion Detection uses AI filtering to detect relevant motion, such as people or vehicles, while reducing false alerts caused by general movement in the scene, such as trees, shadows, or rain.
To set up Smart Motion Detection:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Smart Analysis from the left-side menu.
- Click the Smart Motion tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click inside the camera image to place each point of the detection area, then right-click to finish. Drag the red anchor points to adjust it. You can draw up to 8 areas.
- Set the Sensitivity (1–5). Higher values detect more activity.
- Optional: Turn on Limit Target Type and select the Type: Person or Vehicle, Person, or Vehicle.
- Optional: Turn on Show Detection Area on Live View and any deterrence options.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
Intrusion Detection
Intrusion Detection triggers an event when a person or vehicle enters an area you define.
To set up Intrusion Detection:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Smart Analysis from the left-side menu.
- Click the Intrusion tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click inside the camera image to place each point of the detection area, then right-click to finish. Drag the red anchor points to adjust it. You can draw up to 8 areas.
- Set the Sensitivity (1–5).
- Optional: Turn on Limit Target Type and select the Type: Person or Vehicle, Person, or Vehicle.
- Optional: Turn on Show Detection Area on Live View and any deterrence options.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
Line-Crossing Detection
Line-Crossing Detection triggers an event when a person or vehicle crosses a line you draw, in the direction you choose.
To set up Line-Crossing Detection:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Smart Analysis from the left-side menu.
- Click the Single Line Crossing tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click and drag across the camera image to draw a line. You can draw up to 8 lines.
- Use the drop-down below the preview to select the direction that triggers the event: A -> B, B -> A, or A <-> B (both directions).
- Optional: Turn on Limit Target Type and select the Type: Person or Vehicle, Person, or Vehicle.
- Optional: Turn on Show Detection Area on Live View and any deterrence options.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
Dual-Line Crossing Detection
Dual-Line Crossing Detection triggers an event when a target crosses through a double line. Requiring the target to pass both lines helps filter out false alerts.
To set up Dual-Line Crossing Detection:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Smart Analysis from the left-side menu.
- Click the Double Line Crossing tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click and drag across the camera image to draw the double line. Only one double line can be created. Drag an anchor point to move or adjust it.
- Set the direction by the way you draw the line. The arrow shows the direction that triggers the event:
- Draw from top to bottom: the arrow points to the right.
- Draw from bottom to top: the arrow points to the left.
- Optional: Turn on Limit Target Type and select the Type: Person or Vehicle, Person, or Vehicle.
- Optional: Turn on Show Detection Area on Live View and any deterrence options.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
Loitering Detection
Loitering Detection triggers an event when a target stays inside an area for longer than the time you set.
To set up Loitering Detection:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Smart Analysis from the left-side menu.
- Click the Loitering tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click inside the camera image to place each point of the detection area, then right-click to finish. Drag the red anchor points to adjust it. You can draw up to 8 areas.
- Set The Shortest Time (5–60 seconds) that a target must remain in the area before the event is triggered.
- Optional: Turn on Limit Numbers and enter the Minimum Number of targets required to trigger the event.
- Optional: Turn on Show Detection Area on Live View and any deterrence options.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
Wrong-Way Detection
Wrong-Way Detection triggers an event when a person or vehicle moves through an area in the wrong direction.
To set up Wrong-Way Detection:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Smart Analysis from the left-side menu.
- Click the Wrong Way tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click inside the camera image to place each point of the detection area, then right-click to finish. Drag the red anchor points to adjust it. You can draw up to 8 areas.
- Click and drag the arrow in the middle of the area to point in the wrong direction of travel. The event triggers when a target moves in the direction of the arrow.
- Optional: Turn on Limit Target Type and select the Type: Person or Vehicle, Person, or Vehicle.
- Optional: Turn on Show Detection Area on Live View and any deterrence options.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
Unauthorized Parking Detection
Unauthorized Parking Detection triggers an event when a vehicle stays in an area longer than the allowed time.
To set up Unauthorized Parking Detection:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Smart Analysis from the left-side menu.
- Click the Illegal Parking tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click inside the camera image to place each point of the detection area, then right-click to finish. Drag the red anchor points to adjust it. You can draw up to 8 areas.
- Set the Allowed Parking Time (5–60 seconds) a vehicle may remain in the area before the event is triggered.
- Optional: Turn on Show Detection Area on Live View and any deterrence options.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
People Counting
People Counting counts how many people cross a line, tracking entries (In) and exits (Out).
To set up People Counting:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Smart Analysis from the left-side menu.
- Click the People Counting tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click and drag to draw the counting line. Only one line can be created. Click again to delete the line and redraw it. Counting directions are fixed: A -> B = Out, B -> A = In.
- Optional: Turn on Enable OSD to show the count on the video.
- Select the Counting Clear Interval to set when the count resets. Click Clear Counting to reset it immediately.
- Optional: Turn on Set Correction Value to start the count at a specific number.
- Optional: Turn on Over People Number Alarm and enter the Alarm Threshold to trigger an alarm when the count is reached.
- Optional: Turn on any deterrence options.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
To collect People Counting reports:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Behavior Analysis from the left-side menu.
- Click the People Counting tab.
- Turn on Enable People Counting.
- Click Apply to save the settings.
To view the report, right-click twice to open the Main Menu, click AI Application, and select People Counting. See Smart Search in the GUI Essentials guide.
Regional Population Detection
Regional Population Detection triggers an event when the number of people inside an area goes above or below a number you set, for a set length of time.
To set up Regional Population Detection:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Smart Analysis from the left-side menu.
- Click the Regional Population Detection tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click inside the camera image to place each point of the detection area, then right-click to finish. Drag the red anchor points to adjust it. You can draw up to 8 areas. Each area appears in the Area Listing table.
- Set the Sensitivity.
- Optional: Turn on Limit Target Type and select the Type: Person or Vehicle, Person, or Vehicle.
- In the Area Listing table, configure each area: optionally rename it in Area Name, select the Alarm Type (Maximum Number or Minimum Number), enter the Threshold (1–30) Person, and enter the Duration (1–300s) the threshold must be met.
- Optional: Turn on Show Detection Area on Live View and any deterrence options.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
Perimeter Detection
Perimeter Detection triggers an event when a target enters, leaves, or moves through an area, depending on the direction you select.
To set up Perimeter Detection:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Smart Analysis from the left-side menu.
- Click the Perimeter Detection tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click inside the camera image to place each point of the detection area, then right-click to finish. Drag the red anchor points to adjust it. You can draw up to 8 areas. Each area appears in the Area Listing table.
- Set the Sensitivity.
- In the Area Listing table, select the Direction for each area: Enter, Leave, or Bidirectional (either direction).
- Optional: Turn on Show Detection Area on Live View and any deterrence options.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
Running, Fall, and Fight Detection (Beta)
- Running Detection detects when a person appears to be running inside the area. Possible uses: hallways, store aisles, and areas where running may signal theft or an emergency.
- Fall Detection detects when a person appears to fall inside the area. Possible uses: stairwells, entrances in icy weather, and common areas in care settings.
- Fight Detection detects possible fighting activity inside the area. Possible uses: parking lots, entrances to bars and venues, and school or campus common areas.
To set up Running, Fall, or Fight Detection:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Smart Analysis from the left-side menu.
- Click the Running Detection, Fall Detection, or Fight Detection tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click inside the camera image to place each point of the detection area, then right-click to finish. Drag the red anchor points to adjust it.
- Set the Sensitivity.
- Optional: Turn on Show Detection Area on Live View and any deterrence options.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
Behavior Analysis
Behavior Analysis collects statistics over time instead of triggering single events. It includes People Counting reports (see People Counting) and Heat Map.
Heat Map
Heat Map shows where activity happens most in the camera view, as a color overlay from blue (low activity) to red (high activity).
To set up Heat Map:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Behavior Analysis from the left-side menu.
- Click the Heat Map Set tab.
- Select a compatible camera Channel, then turn on Enable.
- Click and drag across the image to turn grid areas on or off. Only areas with the red grid are included in the analysis. Click Remove All to clear all areas.
- Select the Type: Hour or Day.
- Click Apply to save the settings.
To view Heat Map data:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Behavior Analysis from the left-side menu.
- Click the Heat Map tab.
- Select a Channel that already has Heat Map configured.
- Select the Statistical Type: Hour, Day, Month, or Year.
- Enter the Time for the report, then click Search to display the heat map on the camera image.
- Optional: Connect a USB drive and click Download to export the data.
Environmental Safety Analysis
Smoke and Fire Detection
Smoke and Fire Detection triggers an event when smoke or fire is detected in the area you define. A compatible camera is required.
To set up Smoke and Fire Detection:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click ES Analysis from the left-side menu.
- Click the Smoke and Flame Detection tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click inside the image to draw a detection frame, then right-click when you are finished. You can draw up to 8 areas.
- Set the Sensitivity (1–5).
- Optional: Turn on Audible Alarm or Red and Blue Light Alarm.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
Recorder-Based Analysis
Local Smart Analysis processes AI detection on the recorder instead of the camera. It is typically used when connected cameras do not support built-in AI analytics. When cameras include their own AI detection features, use those instead.
Turn On Local Smart Analysis
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Local Smart Analysis from the left-side menu.
- Click the General tab.
- Turn on Enable.
- Optional: Turn on Enable Draw Rect to display detection rectangles on the video.
- Select the Mode: Detection Mode for Local Intrusion Detection, or Recognize Mode for Face Recognition.
- Under Channel, select the cameras where Local Smart Analysis will be active.
- Click Apply to save the settings.
Local Intrusion Detection
Local Intrusion Detection triggers an event when a person or vehicle enters an area you define, using the recorder's AI processing.
To set up Local Intrusion Detection:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Local Smart Analysis from the left-side menu.
- Click the Intrusion tab.
- Select the Channel, then turn on Enable.
- Select the Detection Area tab.
- Click and drag inside the camera image to create the detection area. Click Remove All to start over.
- Optional: Turn on Limit Target Type and select the Type: Person or Vehicle, Person, or Vehicle.
- Click Apply to save the settings.
- Configure the Event Actions and Schedule tabs as needed. See Settings Shared by Most Detections.
Face Recognition
Face Recognition compares detected faces against people saved in a face library, so you can search for registered people or strangers.
1. Turn on Face Detection. Face Detection must be enabled in AI Multi-Target for each camera. See Step 1: Enable AI Multi-Target Detection.
2. Add people to a face library:
- Right-click twice to open the Main Menu.
- Click AI Application.
- Click Archives Library.
- Select Face Library from the left-side menu.
- Select a face library from the list, such as Default Lib. To create a new library, click + next to Face Library, enter the Library Name, and click OK.
- Click Add. In the Person Enroll window, enter the person's details, select the Face Library, and add a face image under Picture. Click + or Select File to add an image. Each person supports up to 5 images. To add an image from a file, connect a USB drive first.
- Click OK to save the person.
To edit a person, click Modify (pencil icon) under Operate. The Person Info Edit window opens, where you can update the Name, Gender, ID, Birthday, Face Library, Type, Never expire, and Picture. Click OK to save. To remove a person, click Delete (trash icon).
3. Turn on Recognize Mode. Follow Turn On Local Smart Analysis above and set the Mode to Recognize Mode. The NVR reboots to apply the change. Local Intrusion Detection is turned off while Recognize Mode is selected.
4. Check the face recognition settings:
- Right-click twice to open the Main Menu.
- Click Settings.
- Select the IVS tab at the top of the menu.
- Click Face Recognition from the left-side menu.
- Review the Register Detect Library, Stranger Detect Library, and Similarity for each channel.
To search results, right-click twice to open the Main Menu, click AI Application, select Face Search, and choose Events. You can filter by Register or Stranger.
Helpful Tips
- Start with AI Multi-Target: Person, vehicle, and face detection only work on a camera when they are enabled in AI Multi-Target. Smart Search can then find the results.
- Detection type missing? The camera on that channel may not support it. Available IVS options depend on the connected camera.
- Too many alerts? Lower the Sensitivity, turn on Limit Target Type, redraw the area to exclude trees, roads, or sidewalks, or set a Schedule.
- Not getting alerts? Check that Enable is on, the Schedule covers the current time, and the Event Actions you want are turned on.
- Check your drawing: Turn on Show Detection Area on Live View to confirm the area or line covers the right part of the image.
- Review AI events: Use Event Recording in Playback and filter by Smart Analysis. See the GUI Essentials guide.
- More details: See Chapter 14 – IVS & AI Analytics of the X Series 8-Channel, 16-Channel, or 32-Channel NVR User Manual.


























































































































































































































































