If you want to access by face, you should add face picture and link the face picture with the card for getting the access permissions, and then apply face information to access control device.
Make sure you have called NET_DVR_Init to initialize the development resources.
Make sure you have called NET_DVR_Login_V40 to log in to device.
Make sure you have collected the face data, refer to Collect Face Data for details.
Figure 1 Programming Flow of
Managing Face InformationCall NET_DVR_Logout and NET_DVR_Cleanup to log out and release the resource.