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_SEARCH_IMAGE_ITEM

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    8
    9
    typedef struct _net_sdk_search_image_item_
    {
        DD_TIME_EX recStartTime;
        DD_TIME_EX recEndTime;
        unsigned int similarity;
        unsigned int faceFeatureId;
        NET_SDK_FACE_IMG_INFO_CH sfaceImg;
        unsigned char resv[4];
    } NET_SDK_SEARCH_IMAGE_ITEM;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_SEARCH_IMAGE_ITEM
    {
        public DD_TIME_EX recStartTime;
        public DD_TIME_EX recEndTime;
        public UInt32 similarity;
        public UInt32 faceFeatureId;
        public NET_SDK_FACE_IMG_INFO_CH sfaceImg;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)]
        public byte[] resv;
    }

### Function Description

The searched face image information.

### Member Description

Member | Type | Remark
--- | --- | ---
recStartTime | `DD_TIME_EX` | The start time of the video recording containing the face.
recEndTime | `DD_TIME_EX` | The start time of the video recording containing the face.
similarity | unsigned int | Similarity.
faceFeatureId | unsigned int | When searching by facial features, which features are matched.
sfaceImg | `NET_SDK_FACE_IMG_INFO_CH` | When searching by face image, which image is matched.
resv | unsigned char[4] | Reserved field.

Error Code