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_SMART_TARGET

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    typedef struct _net_sdk_search_smart_target
    {
        unsigned int limitNum;
        DD_TIME_EX startTime;
        DD_TIME_EX endTime;
        unsigned char faceDetection;
        unsigned char faceMatchWhiteList;
        unsigned char faceMatchBlackList;
        unsigned char faceMatchStrangerList;
        unsigned char intrusion;
        unsigned char tripwire;
        unsigned char car;
        unsigned char motor;
        unsigned char male;
        unsigned char female;
        unsigned char resv[22];
    } NET_SDK_SEARCH_SMART_TARGET;

     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_SEARCH_SMART_TARGET
    {
        public UInt32 limitNum;
        public DD_TIME_EX startTime;
        public DD_TIME_EX endTime;
        public byte faceDetection;
        public byte faceMatchWhiteList;
        public byte faceMatchBlackList;
        public byte faceMatchStrangerList;
        public byte intrusion;
        public byte tripwire;
        public byte car;
        public byte motor;
        public byte male;
        public byte female;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 22)]
        public byte[] resv;
    }

### Function Description

Search smart data structures.

### Member Description

Member | Type | Remark
--- | --- | ---
limitNum | unsigned int | Maximum quantity limit.
startTime | `DD_TIME_EX` | Start time.
endTime | `DD_TIME_EX` | End time.
faceDetection | unsigned char | Whether to search for face detection, 1: search, 0: do not search.
faceMatchWhiteList | unsigned char | Whether to search the face matching whitelist, 1: search, 0: do not search.
faceMatchBlackList | unsigned char | Whether to search the face matching blacklist, 1: search, 0: do not search.
faceMatchStrangerList | unsigned char | Whether to search the stranger list for face matching, 1: search, 0: do not search.
intrusion | unsigned char | Whether to search for area intrusions, 1: search, 0: do not search.
tripwire | unsigned char | Whether to search for tripwire detection, 1: search, 0: do not search.
car | unsigned char | Whether to search for cars, 1: search, 0: do not search.
motor | unsigned char | Whether to search for motorcycles, 1: search, 0: do not search.
male | unsigned char | Whether to search for males, 1: search, 0: do not search.
female | unsigned char | Whether to search for women, 1: search, 0: do not search.
resv | unsigned char[22] | Reserved field.

Error Code