跳转至

NET_SDK_IVE_FACE_MATCH_ADD_ALBUM_INFO

结构体定义

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
typedef struct NET_SDK_IVE_FACE_MATCH_ADD_ALBUM_INFO_T
{
    int iType;               
    char szName[128];        
    int iMale;               
    int iAge;                
    char szIdentifyNum[128]; 
    char szTel[64];          
    int iWidth;              
    int iHeight;             
    int iPicFormat;          
    int iPicSize;            
    char szRes[128];         
} NET_SDK_IVE_FACE_MATCH_ADD_ALBUM_INFO;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NET_SDK_IVE_FACE_MATCH_ADD_ALBUM_INFO
{
    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;
    public Int32 iWidth;
    public Int32 iHeight;
    public Int32 iPicFormat;
    public Int32 iPicSize;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 128)]
    public byte[] szRes;
}

功能描述

IPC人脸比对数据集添加结构体。

成员说明

成员 类型 备注
iType int 名单类型,0:陌生人;1:白名单;2:黑名单。
szName char[128] 姓名。
iMale int 性别,0:女性,1:男性。
iAge int 年龄。
szIdentifyNum char[128] 身份识别号。
szTel char[64] 电话。
iWidth int 图片宽。
iHeight int 图片高。
iPicFormat int 图片格式,0:JPG;目前仅支持jpg。
iPicSize int 图片大小。
szRes char[128] 预留字段。
错误码