Skip to content

NET_SDK_FACE_INFO_COPY

Structure Definition

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
typedef struct _net_sdk_face_info_copy_
{
    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 char guid[48];                      
} NET_SDK_FACE_INFO_COPY;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NET_SDK_FACE_INFO_COPY
{
    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;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 48)]
    public byte[] guid;
}

Function Description

Copy the face information structure.

Member Description

Member Type Remark
itemId unsigned int Target ID, use this ID to get the image.
name char[DD_MAX_NAME_LEN] Target name, required.
sex unsigned int Gender, 0: male; 1: female.
birthday unsigned int Birthday.
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.
guid unsigned char[48] The group GUID.
Error Code