Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_IVE_FACE_MATCH_ADD_ALBUM_INFO

### Structure Definition

C++C#

     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