Skip to content

NET_SDK_IVE_FACE_MATCH_ADD_ALBUM_INFO

Structure Definition

 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;
}

Function Description

Add structure to IPC face comparison dataset.

Member Description

Member Type Remark
iType int List type, 0: stranger; 1: whitelist; 2: blacklist.
szName char[128] Name.
iMale int Gender, 0: female, 1: male.
iAge int Age.
szIdentifyNum char[128] Identification number.
szTel char[64] Telephone.
iWidth int Image width.
iHeight int Picture high.
iPicFormat int Image format, 0: JPG; currently only jpg is supported.
iPicSize int Image size.
szRes char[128] Reserved field.
Error Code