跳转至

NET_SDK_IVE_BASE_INFO

结构体定义

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
typedef struct NET_SDK_IVE_BASE_INFO_T
{
    long long i64SnapTime;   
    unsigned int iSnapPicId; 
    int iSimilarity;         
    int iPersonId;           
    int iType;               
    char szName[128];        
    int iMale;               
    int iAge;                
    char szIdentifyNum[128]; 
    char szTel[64];          
    char szRes[128];         
    int iSnapPicQuality;     
    int iSnapPicAge;         
    int iSnapPicSex;         
    char livingBody;         
    char comparisonRes;      
    char wearmask;           
    char tempUnitsType;      
    int temperature;         
    char keyID[36];          
    char szReserve[20];      
} NET_SDK_IVE_BASE_INFO;
 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
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NET_SDK_IVE_BASE_INFO
{
    public Int64 i64SnapTime;
    public UInt32 iSnapPicId;
    public Int32 iSimilarity;
    public Int32 iPersonId;
    public Int32 iType;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 128)]
    public byte[] szName;
    public Int32 iMale;
    public Int32 iAge;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 128)]
    public byte[] szIdentifyNum;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 64)]
    public byte[] szTel;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 128)]
    public byte[] szRes;
    public Int32 iSnapPicQuality;
    public Int32 iSnapPicAge;
    public Int32 iSnapPicSex;
    public byte livingBody;
    public byte comparisonRes;
    public byte wearmask;
    public byte tempUnitsType;
    public Int32 temperature;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 36)]
    public byte[] keyID;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 20)]
    public byte[] szReserve;
}

功能描述

IPC人脸比对基本信息。

成员说明

成员 类型 备注
i64SnapTime long long 抓拍时间。
iSnapPicId unsigned int 抓拍ID。
iSimilarity int 人脸比对相似度(0-100)。
iPersonId int 人员ID。
iType int 名单类型,0:陌生人,1:白名单;2:黑名单。
szName char[128] 姓名。
iMale int 性别,1:male,0:female。
iAge int 年龄。
szIdentifyNum char[128] 身份识别号。
szTel char[64] 电话。
szRes char[128] 预留字段。
iSnapPicQuality int 抓拍人脸质量。
iSnapPicAge int 抓拍人脸年龄。
iSnapPicSex int 抓拍人脸性别。
livingBody char 是否是活体,1:活体;0:非活。
comparisonRes char 比对结果,1:成功;0:失败。
wearmask char 是否戴口罩,0:未检测;1:未戴口罩;2:戴口罩。
tempUnitsType char 温度单位,0:摄氏度;1:华氏度。
temperature int 体温。
keyID char[36] 人脸库主键。
szReserve char[20] 预留字段。
错误码