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_FACE_INFO_LIST_ITEM

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    typedef struct _net_sdk_face_info_list_item_
    {
        unsigned int itemId;
        char name[DD_MAX_NAME_LEN];
        unsigned int sex;
        unsigned int birthday;
        char nativePlace[DD_MAX_NAME_LEN];
        unsigned int certificateType;
        char certificateNum[DD_MAX_CERTIFICATE_NUM];
        char mobile[20];
        char number[20];
        unsigned int faceImgCount;
        NET_SDK_FACE_INFO_LIST_ITEM_GROUPS groups[DD_MAX_FACE_INFO_GROUPS];
    } NET_SDK_FACE_INFO_LIST_ITEM;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_FACE_INFO_LIST_ITEM
    {
        public UInt32 itemId;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 64)]
        public byte[] name;
        public UInt32 sex;
        public UInt32 birthday;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 64)]
        public byte[] nativePlace;
        public UInt32 certificateType;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 20)]
        public byte[] certificateNum;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 20)]
        public byte[] mobile;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 20)]
        public byte[] number;
        public UInt32 faceImgCount;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.Struct, SizeConst = 16)]
        public NET_SDK_FACE_INFO_LIST_ITEM_GROUPS[] groups;
    }

### Function Description

NVR face comparison target information.

### Member Description

Member | Type | Remark
--- | --- | ---
itemId | unsigned int | Target Id.
name | char[DD_MAX_NAME_LEN] | Name.
sex | unsigned int | Gender, 0: male, 1: female.
birthday | unsigned int | Birthday, format: YYYYMMDD.
nativePlace | char[DD_MAX_NAME_LEN] | Place of origin.
certificateType | unsigned int | Certificate type, currently only 0:idCard.
certificateNum | char[DD_MAX_CERTIFICATE_NUM] | ID number.
mobile | char[20] | Telephone.
number | char[20] | Serial number.
faceImgCount | unsigned int | The number of face images.
groups | `NET_SDK_FACE_INFO_LIST_ITEM_GROUPS`[DD_MAX_FACE_INFO_GROUPS] | Target group information. A maximum of 16 groups.

Error Code