Collected face data structure
struct{ DWORD dwSize; DWORD dwFaceTemplate1Size; char *pFaceTemplate1Buffer; DWORD dwFaceTemplate2Size; char *pFaceTemplate2Buffer; DWORD dwFacePicSize; char *pFacePicBuffer; BYTE byFaceQuality1; BYTE byFaceQuality2; BYTE byCaptureProgress; BYTE byFacePicQuality; DWORD dwInfraredFacePicSize; char *pInfraredFacePicBuffer; BYTE byInfraredFacePicQuality; BYTE byRes1[3]; NET_DVR_FACE_FEATURE struFeature; BYTE byRes[56]; }NET_DVR_CAPTURE_FACE_CFG,*LPNET_DVR_CAPTURE_FACE_CFG;
Structure size.
Size of face data template 1. When its value is 0, it indicates that there is no data template 1.
Buffer to save face data template 1, the buffer size should be smaller than or equal to 2.5 KB.
Size of face data template 2. When its value is 0, it indicates that there is no data template 2.
Buffer to save face data template 2, the buffer size should be smaller than or equal to 2.5 KB.
Size of face picture data. When its value is 0, it indicates that there is no face picture data.
Buffer to save face picture data.
Face picture quality, it is between 1 and 100.
Face picture quality, it is between 1 and 100.
Collection progress: 0-no face data collected, 1-collected. The face information can be parsed only when the progress value is 100.
Face quality in the face picture.
Size of infrared face picture data. When its value is 0, it indicates that there is no face picture data.
Buffer to save infrared face picture data.
Face quality in the infrared face picture.
Reserved.
Feature information in the matted face picture, see details in the structure NET_DVR_FACE_FEATURE.
Reserved.