Skip to content

NET_DVR_IVE_VFD_RESULT_FACE_DATA_INFO_T

Structure Definition

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
typedef struct
{
    int faceId;                                       
    unsigned int ptWidth;                             
    unsigned int ptHeight;                            
    NET_DVR_IVE_POINT_T ptLeftTop;                    
    NET_DVR_IVE_POINT_T ptRightTop;                   
    NET_DVR_IVE_POINT_T ptLeftBottom;                 
    NET_DVR_IVE_POINT_T ptRightBottom;                
    int nPose;                                        
    int nConfidence;                                  
    int age;                                          
    int sex;                                          
    int dtFrames;                                     
    int featureSize;                                  
    NET_DVR_IVE_POINT_T stPosFaceImg;                 
    float feature_score;                              
    short eye_dist;                                   
    short blur;                                       
    char pose_est_score;                              
    char detect_score;                                
    char illumination;                                
    char faceliveness;                                
    char completeness;                                
    char glasses;                                     
    char wearmask;                                    
    char reserved1[1];                                
    float comprehensive_score;                        
    int temperature;                                  
    int foreheadX;                                    
    int foreheadY;                                    
    NET_DVR_IVE_POINT_T stHotLeftTop;                 
    NET_DVR_IVE_POINT_T stHotRightBottom;             
    char cTemperatureMode;                            
    char tempUnitsType;                               
    char cTemperatureStatus;                          
    char reserved[5];                                 
    NET_DVR_IVE_VFD_RESULT_DATA_INFO_T stFaceImgData; 
} NET_DVR_IVE_VFD_RESULT_FACE_DATA_INFO_T;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NET_DVR_IVE_VFD_RESULT_FACE_DATA_INFO_T
{
    public Int32 faceId;
    public UInt32 ptWidth;
    public UInt32 ptHeight;
    public NET_DVR_IVE_POINT_T ptLeftTop;
    public NET_DVR_IVE_POINT_T ptRightTop;
    public NET_DVR_IVE_POINT_T ptLeftBottom;
    public NET_DVR_IVE_POINT_T ptRightBottom;
    public Int32 nPose;
    public Int32 nConfidence;
    public Int32 age;
    public Int32 sex;
    public Int32 dtFrames;
    public Int32 featureSize;
    public NET_DVR_IVE_POINT_T stPosFaceImg;
    public Single feature_score;
    public Int16 eye_dist;
    public Int16 blur;
    public byte pose_est_score;
    public byte detect_score;
    public byte illumination;
    public byte faceliveness;
    public byte completeness;
    public byte glasses;
    public byte wearmask;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 1)]
    public byte[] reserved1;
    public Single comprehensive_score;
    public Int32 temperature;
    public Int32 foreheadX;
    public Int32 foreheadY;
    public NET_DVR_IVE_POINT_T stHotLeftTop;
    public NET_DVR_IVE_POINT_T stHotRightBottom;
    public byte cTemperatureMode;
    public byte tempUnitsType;
    public byte cTemperatureStatus;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 5)]
    public byte[] reserved;
    public NET_DVR_IVE_VFD_RESULT_DATA_INFO_T stFaceImgData;
}

Function Description

Face detection result information.

Member Description

Member Type Remark
faceId int Face ID Number.
ptWidth unsigned int Coordinate scale width.
ptHeight unsigned int The coordinate ratio is high.
ptLeftTop NET_DVR_IVE_POINT_T Left-Top Face Coordinates
ptRightTop NET_DVR_IVE_POINT_T Right-Top Face Coordinates
ptLeftBottom NET_DVR_IVE_POINT_T Left-Bottom Face Coordinates
ptRightBottom NET_DVR_IVE_POINT_T Right-Bottom Face Coordinates
nPose int Face Pose
nConfidence int Confidence Degree
age int Age.
sex int Gender.
dtFrames int Accumulate frames.
featureSize int The size of facial feature data.
stPosFaceImg NET_DVR_IVE_POINT_T The coordinates of the upper left corner of the face (in the detection source image).
feature_score float The eigenvalue determines the face credibility from 0 to 100.
eye_dist short Eye distance.
blur short Fuzziness.
pose_est_score char The face pose evaluation score is 0~100.
detect_score char The detection algorithm determines the face credibility from 0 to 100.
illumination char The average brightness of the cutout area.
faceliveness char Living 0~100.
completeness char Occlusion 0~100.
glasses char Whether to wear glasses.
wearmask char Whether wearing a mask: 0: not tested, 1: not wearing a mask, 2: wearing a mask.
reserved1 char[1] Reserved field.
comprehensive_score float Comprehensive score, [90,100): excellent; [80,90): good; [70,80): average; [60,70): qualified; [50,60): optional; [0,50): poor.
temperature int Body temperature.
foreheadX int Forehead coordinates (temporarily added).
foreheadY int Forehead coordinates (temporarily added).
stHotLeftTop NET_DVR_IVE_POINT_T The upper left coordinate of the thermal imaging face.
stHotRightBottom NET_DVR_IVE_POINT_T The lower right coordinate of the thermal imaging face.
cTemperatureMode char Thermal imaging temperature measurement mode, 0: indicates normal temperature measurement mode, 1: indicates temperature correction mode.
tempUnitsType char Temperature unit, 0: Celsius, 1: Fahrenheit.
cTemperatureStatus char Body temperature status, 0: normal body temperature, 1: abnormally low temperature, 2: abnormally high temperature.
reserved char[5] Reserved field.
stFaceImgData NET_DVR_IVE_VFD_RESULT_DATA_INFO_T Face image data.
Error Code