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_BASE_INFO

### Structure Definition

C++C#

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

### Function Description

IPC face comparison basic information.

### Member Description

Member | Type | Remark
--- | --- | ---
i64SnapTime | long long | Capture time.
iSnapPicId | unsigned int | Snapshot ID.
iSimilarity | int | Face comparison similarity (0-100).
iPersonId | int | Personnel ID.
iType | int | List type, 0: stranger, 1: whitelist; 2: blacklist.
szName | char[128] | Name.
iMale | int | Gender, 1: male, 0: female.
iAge | int | Age.
szIdentifyNum | char[128] | Identification number.
szTel | char[64] | Telephone.
szRes | char[128] | Reserved field.
iSnapPicQuality | int | The quality of captured faces.
iSnapPicAge | int | Capture the age of the face.
iSnapPicSex | int | Capture the gender of the face.
livingBody | char | Whether it is alive, 1: alive; 0: not alive.
comparisonRes | char | Comparison result, 1: success; 0: failure.
wearmask | char | Whether wearing a mask, 0: not tested; 1: not wearing a mask; 2: wearing a mask.
tempUnitsType | char | Temperature unit, 0: Celsius; 1: Fahrenheit.
temperature | int | Body temperature.
keyID | char[36] | Primary key of the face database.
szReserve | char[20] | Reserved field.

Error Code