NET_DVR_CAPTURE_FACE_CFG

Collected face data structure

Structure Definition

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;

Members

dwSize

Structure size.

dwFaceTemplate1Size

Size of face data template 1. When its value is 0, it indicates that there is no data template 1.

pFaceTemplate1Buffer

Buffer to save face data template 1, the buffer size should be smaller than or equal to 2.5 KB.

dwFaceTemplate2Size

Size of face data template 2. When its value is 0, it indicates that there is no data template 2.

pFaceTemplate2Buffer

Buffer to save face data template 2, the buffer size should be smaller than or equal to 2.5 KB.

dwFacePicSize

Size of face picture data. When its value is 0, it indicates that there is no face picture data.

pFacePicBuffer

Buffer to save face picture data.

byFaceQuality1

Face picture quality, it is between 1 and 100.

byFaceQuality2

Face picture quality, it is between 1 and 100.

byCaptureProgress

Collection progress: 0-no face data collected, 1-collected. The face information can be parsed only when the progress value is 100.

byFacePicQuality

Face quality in the face picture.

dwInfraredFacePicSize

Size of infrared face picture data. When its value is 0, it indicates that there is no face picture data.

pInfraredFacePicBuffer

Buffer to save infrared face picture data.

byInfraredFacePicQuality

Face quality in the infrared face picture.

byRes1

Reserved.

struFeature

Feature information in the matted face picture, see details in the structure NET_DVR_FACE_FEATURE.

byRes

Reserved.