How to setup Dahua Face Recognition on XVR

Prev Next

Description

When a face is detected in the area, the system compares the face image captured with faces added to the face database and can link to an alarm output based on the comparison result.

Initial Setup for Recorder

Step by Step Instructions

  1. Enter the Main Menu and select AI

image.png

  1. Click Parameters > Smart Plan

image.png

  1. Click the Face Detection icon. It will highlight once enabled

image.png

  1. Click Apply to save settings.

image.png

  1. Click Parameters > Face Detection

image.png

  1. Toggle the setting to Enable then click Apply

image.png

  1. Click Parameters > Face Recognition

Toggle the setting to Enable then click Apply

image.png

Face Recognition is now enabled

How To Create A Face Database

Step by Step Instructions

  1. From the Main Menu click AI

image.png

  1. Click Database > Face Library

image.png

  1. Make sure 'Type' is set to 'Local' using the drop down box - This will create a database direct on the recorder.

Click Add in the bottom right of the screen to add a new database

image.png

  1. Enter a name for the Face Library Name and click OK

image.png

  1. The created database will appear in the Face Library list when created successfully

image.png

How To Add A Face To Face Library

Step by Step Instructions

Add By USB Drive

USB drive with face picture(s) to create database should be plugged into recorder.

  1. From the Main Menu click AI

image.png

  1. Click Database > Face Database

image.png

  1. Select the face database in the list you want to add the face to by double clicking it. How To Create Face Database

Click the image.png icon under Details to configure the database.

image.png

  1. Click 'Register ID' to add a face to the database.

image.png

  1. The Register ID interface will appear.

Click the + to upload a new face image

image.png

  1. The USB drive will automatically be loaded. Check the box next to the face image then click OK

image.png

image.png

A message will confirm a successful upload

  1. Use the Register ID window to add additional information to this face entry, including Name and gender

Click OK to save

image.png

  1. A message will confirm a successful face addition

image.png

  1. The added face will appear in the face database

image.png

Add By USB Drive (Batch Add)

Face pictures can also be imported in batches which is useful when adding a large number of faces at one time.

image.png

Before importing pictures in batches, you can name the picture files using the following format for easier import:

"Name#SGender#BDate of Birth#NRegion#TCredentials Type#MID No.jpg"

"[Name]#S[Gender]#B[Date of Birth]#T[Type of Credentials]#M[ID Number]"

For example a face picture for the following person:

Name: John

Date of Birth: 1990-01-01

Type of Credentials: ID Card

ID Number: 0000

Should have the file name:

"John#S1#B1990-01-01#T1#M0000".JPG or PNG

Parameter Description
Name Enter a name, required
Gender Enter a value, optional. 1 is 'male' and '2' is female
Date of Birth Enter a value, optional. Format: yyyy-mm-dd, such as 2017-11-23
Gender Enter a value, optional. 1 is 'male' and '2' is female
Credentials Type Enter a value, optional. 1 is ID card and '2' is passport
ID number Enter ID No. , optional

Add From Captured Face Detection
You can add images to build the Face Database using images that have been captured using the Face Recognition feature

From the Live View, with AI Mode enabled:

  1. AI mode will display recently captured Face images in Live View on the right side of the screen

How To Create Face Database - NewGUI - 12.jpg

  1. Click to select the Face you want to add from the list

How To Create Face Database - NewGUI - 13.jpg

  1. The image will full screen.

Click the button labeled "Add to Human Face Database" in the top right of the screen

How To Create Face Database - NewGUI - 14.jpg

  1. The Register ID window will appear.

You can add additional details for the Face entry including Name

Check the box next to the Face Library you wish to add the face to

How To Create Face Database - NewGUI - 15.jpg

  1. Click OK to save

How To Create Face Database - NewGUI - 16.jpg

  1. The added face will appear in the Face Library

How To Create Face Database - NewGUI - 17.jpg

How To Add A Trigger Or Alarm Based on Face Recognition

Step by Step Instructions

  1. Enter the Main Menu and select AI

image.png

  1. Click Parameters > Face Recognition

image.png

  1. Use the drop-down box to select the AI mode to configure.

image.png

Stranger Alarm
Stranger Alarm: The NVR will compare live detected faces to faces that have been entered into the Face Library database. If the Face is not recognized the alarm will be triggered.

  1. Click the toggle button to enable

image.png

  1. Click the Setting button next to Target Face Database

image.png

How To Create Alarms and Triggers For Face Recognition - NewGui - 4-1.jpg

  1. Check the box next to the Face Library to be used for Face Recognition then click OK

image.png

How To Create Alarms and Triggers For Face Recognition - NewGui - 5.jpg

  1. You can set various events to happen when the alarm is triggered including:

Alarm Out Email Alert PTZ Activation Tour Buzzer

image.png

How To Create Alarms and Triggers For Face Recognition - NewGui - 6.jpg

Click Apply to save all settings

Common Mode
Common Mode: The NVR will compare live detected faces to faces that have been entered into the Face Library database. When a face that has been added to the library has been detected, you can configure the NVR to respond with various actions, such as Buzzer, Email, and Alarm Outputs among others. A Similarity value (default 80%) can be adjusted

  1. Click the Setting button next to Target Face Database

image.png

How To Create Alarms and Triggers For Face Recognition - NewGui - 7.jpg

  1. Check the box next to the Face Library to be used for Face Recognition then click OK

image.png

How To Create Alarms and Triggers For Face Recognition - NewGui - 5.jpg

  1. To adjust the Similarity value click the icon under Modify

image.png

How To Create Alarms and Triggers For Face Recognition - NewGui - 8.jpg

  1. Enter a value for the Similarity from 1-100 then click OK

image.png

How To Create Alarms and Triggers For Face Recognition - NewGui - 9.jpg

  1. Click the Setting button next to Period

image.png

How To Create Alarms and Triggers For Face Recognition - NewGui - 10.jpg

  1. You can create a schedule for the alarm. By default the schedule is set to 24/7

image.png

How To Create Alarms and Triggers For Face Recognition - NewGui - 11.jpg

  1. Click the Tripwire Setup - NewGUI - Trigger.jpg icon to set the Trigger settings when the IVS Missing Object rule is engaged.

image.png

How To Create Alarms and Triggers For Face Recognition - NewGui - 12.jpg

  1. The Trigger menu will appear

image.png

How To Create Alarms and Triggers For Face Recognition - NewGui - 13.jpg

Once the trigger rule settings have been created click Apply, then click Back to return to the previous menu

  1. Once all Missing Object settings have been configured, Click Apply in the lower right of the screen to save all changes

image.png