Skip to content

NET_SDK_FACE_IMG_STATISTIC_V2

Structure Definition

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
typedef struct _net_sdk_face_img_statistic_v2
{
    unsigned int limitNum;            
    DD_TIME_EX startTime;             
    DD_TIME_EX endTime;               
    unsigned int timeQuantum;         
    unsigned char faceDetection;      
    unsigned char faceMatchWhiteList; 
    unsigned char faceMatchBlackList; 
    unsigned char faceMatchStranger;  
    unsigned char intrusion;          
    unsigned char tripwire;           
    unsigned char passLine;           
    unsigned char deduplicate;        
    unsigned char car;                
    unsigned char motor;              
    unsigned char male;               
    unsigned char female;             
    unsigned char resv[22];           
} NET_SDK_FACE_IMG_STATISTIC_V2;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NET_SDK_FACE_IMG_STATISTIC_V2
{
    public UInt32 limitNum;
    public DD_TIME_EX startTime;
    public DD_TIME_EX endTime;
    public UInt32 timeQuantum;
    public byte faceDetection;
    public byte faceMatchWhiteList;
    public byte faceMatchBlackList;
    public byte faceMatchStranger;
    public byte intrusion;
    public byte tripwire;
    public byte passLine;
    public byte deduplicate;
    public byte car;
    public byte motor;
    public byte male;
    public byte female;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 22)]
    public byte[] resv;
}

Function Description

Face image statistics V2 structure.

Member Description

Member Type Remark
limitNum unsigned int Maximum quantity.
startTime DD_TIME_EX Start time.
endTime DD_TIME_EX End time.
timeQuantum unsigned int Time quantization method, refer to NET_SDK_TIMEQUANTUM_TYPE.
faceDetection unsigned char Whether to search for face detection, 1: search, 0: do not search.
faceMatchWhiteList unsigned char Whether to search the face matching whitelist, 1: search, 0: do not search.
faceMatchBlackList unsigned char Whether to search the face matching blacklist, 1: search, 0: do not search.
faceMatchStranger unsigned char Whether to search the stranger list for face matching, 1: search, 0: do not search.
intrusion unsigned char Whether to search for area intrusions, 1: search, 0: do not search.
tripwire unsigned char Whether to search for tripwire detection, 1: search, 0: do not search.
passLine unsigned char Whether to search for passline detection, 1: search, 0: do not search.
deduplicate unsigned char Deduplication is enabled by default.
car unsigned char Whether to search for cars, 1: search, 0: do not search.
motor unsigned char Whether to search for motorcycles, 1: search, 0: do not search.
male unsigned char Whether to search for males, 1: search, 0: do not search.
female unsigned char Whether to search for women, 1: search, 0: do not search.
resv unsigned char[22] Reserved field.
Error Code