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_SMART_EVENT_TYPE

### Enum 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
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    enum NET_SDK_SMART_EVENT_TYPE
    {
        NET_SDK_SMART_EVENT_TYPE_RANGE_BEGIN,
        NET_SDK_SMART_EVENT_TYPE_OSC = 0x05,
        NET_SDK_SMART_EVENT_TYPE_AVD = 0x06,
        NET_SDK_SMART_EVENT_TYPE_VFD = 0x0C,
        NET_SDK_SMART_EVENT_TYPE_CDD,
        NET_SDK_SMART_EVENT_TYPE_IPD,
        NET_SDK_SMART_EVENT_TYPE_CPC,
        NET_SDK_SMART_EVENT_TYPE_FACE_MATCH,
        NET_SDK_SMART_EVENT_TYPE_FACE_MATCH_FOR_IPC,
        NET_SDK_SMART_EVENT_TYPE_PEA_FOR_IPC = 0x12,
        NET_SDK_SMART_EVENT_TYPE_TRAJECT,
        NET_SDK_SMART_EVENT_TYPE_VEHICLE,
        NET_SDK_SMART_EVENT_TYPE_AOIENTRY,
        NET_SDK_SMART_EVENT_TYPE_AOILEAVE,
        NET_SDK_SMART_EVENT_TYPE_PASSLINE = 0x17,
        NET_SDK_SMART_EVENT_TYPE_TRAFFIC,
        NET_SDK_SMART_EVENT_TYPE_PEA_TARGET,
        NET_SDK_SMART_EVENT_TYPE_VSD,
        NET_SDK_SMART_EVENT_TYPE_TEMPERATURE_ALARM,
        NET_SDK_SMART_EVENT_TYPE_FIREPOINT,
        NET_SDK_SMART_EVENT_TYPE_NVR_VEHICLE,
        NET_SDK_SMART_EVENT_TYPE_NVR_AOIENTRY,
        NET_SDK_SMART_EVENT_TYPE_NVR_AOILEAVE,
        NET_SDK_SMART_EVENT_TYPE_PVD,
        NET_SDK_SMART_EVENT_TYPE_LOITER,
        NET_SDK_SMART_EVENT_TYPE_ASD,
        NET_SDK_SMART_EVENT_TYPE_VFD_MATCH_FAILED,
        NET_SDK_SMART_EVENT_TYPE_BINOCULARCOUNT,
        NET_SDK_SMART_EVENT_TYPE_FALLING,
        NET_SDK_SMART_EVENT_TYPE_TRIPWIRE,
        NET_SDK_SMART_EVENT_TYPE_HEATMAP,
        NET_SDK_SMART_EVENT_TYPE_THERMAL_PEA,
        NET_SDK_SMART_EVENT_TYPE_THERMAL_AOIENTRY,
        NET_SDK_SMART_EVENT_TYPE_THERMAL_AOILEAVE,
        NET_SDK_SMART_EVENT_TYPE_THERMAL_TRIPWIRE,
    };

     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
    32
    33
    34
    35
    36
    37
    38
    public enum NET_SDK_SMART_EVENT_TYPE
    {
        NET_SDK_SMART_EVENT_TYPE_RANGE_BEGIN,
        NET_SDK_SMART_EVENT_TYPE_OSC = 0x05,
        NET_SDK_SMART_EVENT_TYPE_AVD = 0x06,
        NET_SDK_SMART_EVENT_TYPE_VFD = 0x0C,
        NET_SDK_SMART_EVENT_TYPE_CDD,
        NET_SDK_SMART_EVENT_TYPE_IPD,
        NET_SDK_SMART_EVENT_TYPE_CPC,
        NET_SDK_SMART_EVENT_TYPE_FACE_MATCH,
        NET_SDK_SMART_EVENT_TYPE_FACE_MATCH_FOR_IPC,
        NET_SDK_SMART_EVENT_TYPE_PEA_FOR_IPC = 0x12,
        NET_SDK_SMART_EVENT_TYPE_TRAJECT,
        NET_SDK_SMART_EVENT_TYPE_VEHICLE,
        NET_SDK_SMART_EVENT_TYPE_AOIENTRY,
        NET_SDK_SMART_EVENT_TYPE_AOILEAVE,
        NET_SDK_SMART_EVENT_TYPE_PASSLINE = 0x17,
        NET_SDK_SMART_EVENT_TYPE_TRAFFIC,
        NET_SDK_SMART_EVENT_TYPE_PEA_TARGET,
        NET_SDK_SMART_EVENT_TYPE_VSD,
        NET_SDK_SMART_EVENT_TYPE_TEMPERATURE_ALARM,
        NET_SDK_SMART_EVENT_TYPE_FIREPOINT,
        NET_SDK_SMART_EVENT_TYPE_NVR_VEHICLE,
        NET_SDK_SMART_EVENT_TYPE_NVR_AOIENTRY,
        NET_SDK_SMART_EVENT_TYPE_NVR_AOILEAVE,
        NET_SDK_SMART_EVENT_TYPE_PVD,
        NET_SDK_SMART_EVENT_TYPE_LOITER,
        NET_SDK_SMART_EVENT_TYPE_ASD,
        NET_SDK_SMART_EVENT_TYPE_VFD_MATCH_FAILED,
        NET_SDK_SMART_EVENT_TYPE_BINOCULARCOUNT,
        NET_SDK_SMART_EVENT_TYPE_FALLING,
        NET_SDK_SMART_EVENT_TYPE_TRIPWIRE,
        NET_SDK_SMART_EVENT_TYPE_HEATMAP,
        NET_SDK_SMART_EVENT_TYPE_THERMAL_PEA,
        NET_SDK_SMART_EVENT_TYPE_THERMAL_AOIENTRY,
        NET_SDK_SMART_EVENT_TYPE_THERMAL_AOILEAVE,
        NET_SDK_SMART_EVENT_TYPE_THERMAL_TRIPWIRE,
    }

### Function Description

Smart event definition

### Member Description

Enum name | Value | Remark
--- | --- | ---
NET_SDK_SMART_EVENT_TYPE_RANGE_BEGIN | 0 | Start mark
NET_SDK_SMART_EVENT_TYPE_OSC | 0x05 | Item guarding detection event (IPC only).
NET_SDK_SMART_EVENT_TYPE_AVD | 0x06 | Video anomaly detection events (IPC only).
NET_SDK_SMART_EVENT_TYPE_VFD | 0x0C | Face detection (IPC only).
NET_SDK_SMART_EVENT_TYPE_CDD | 0xd | Crowd density (IPC only, not available in 5.x).
NET_SDK_SMART_EVENT_TYPE_IPD | 0xe | Human intrusion (IPC only, not available in 5.x versions).
NET_SDK_SMART_EVENT_TYPE_CPC | 0xf | People counting (IPC only, not available in 5.x).
NET_SDK_SMART_EVENT_TYPE_FACE_MATCH | 0x10 | Face matching for NVR 9000
NET_SDK_SMART_EVENT_TYPE_FACE_MATCH_FOR_IPC | 0x11 | Face matching for IPC
NET_SDK_SMART_EVENT_TYPE_PEA_FOR_IPC | 0x12 | Cross-border detection and area intrusion detection (exclusive to old version of IPC)
NET_SDK_SMART_EVENT_TYPE_TRAJECT | 0x13 | For target tracking trajectory, for IPC, no subscription is required. For NVR, you need to specify the channel to enable smart event subscription.
NET_SDK_SMART_EVENT_TYPE_VEHICLE | 0x14 | License Plate for IPC
NET_SDK_SMART_EVENT_TYPE_AOIENTRY | 0x15 | Enter the area for IPC
NET_SDK_SMART_EVENT_TYPE_AOILEAVE | 0x16 | Leaving Zone for IPC
NET_SDK_SMART_EVENT_TYPE_PASSLINE | 0x17 | Count targets by crossing the line, with target snapshot information.
NET_SDK_SMART_EVENT_TYPE_TRAFFIC | 0x18 | Target statistics are calculated by region, with target snapshot information.
NET_SDK_SMART_EVENT_TYPE_PEA_TARGET | 0x19 | Perimeter protection, regional intrusion detection, with target capture information.
NET_SDK_SMART_EVENT_TYPE_VSD | 0x1a | Video Secondary Structuring
NET_SDK_SMART_EVENT_TYPE_TEMPERATURE_ALARM | 0x1b | AI alarm, temperature detection.
NET_SDK_SMART_EVENT_TYPE_FIREPOINT | 0x1c | AI alarm and fire point detection.
NET_SDK_SMART_EVENT_TYPE_NVR_VEHICLE | 0x1d | License Plate Event for NVR
NET_SDK_SMART_EVENT_TYPE_NVR_AOIENTRY | 0x1e | Enter Zone for NVR
NET_SDK_SMART_EVENT_TYPE_NVR_AOILEAVE | 0x1f | Leave Zone for NVR
NET_SDK_SMART_EVENT_TYPE_PVD | 0x20 | Illegal parking detection with screenshot information.
NET_SDK_SMART_EVENT_TYPE_LOITER | 0x21 | Loitering detection with snapshot information.
NET_SDK_SMART_EVENT_TYPE_ASD | 0x22 | If the sound is abnormal, the device will continue to return the sound information detected by the device. You need to judge whether to trigger an alarm (IPC has no background sound).
NET_SDK_SMART_EVENT_TYPE_VFD_MATCH_FAILED | 0x23 | Face matching failed.
NET_SDK_SMART_EVENT_TYPE_BINOCULARCOUNT | 0x24 | Binocular people counting.
NET_SDK_SMART_EVENT_TYPE_FALLING | 0x25 | Throwing objects from high places.
NET_SDK_SMART_EVENT_TYPE_TRIPWIRE | 0x26 | Perimeter protection, cross-border detection, with target capture information.
NET_SDK_SMART_EVENT_TYPE_HEATMAP | 0x27 | Heat map.
NET_SDK_SMART_EVENT_TYPE_THERMAL_PEA | 0x28 | Thermal imaging area invasion, with information related to target capture (currently only supports IPC).
NET_SDK_SMART_EVENT_TYPE_THERMAL_AOIENTRY | 0x29 | The thermal imaging channel enters the area with information related to the target capture (currently only supports IPC).
NET_SDK_SMART_EVENT_TYPE_THERMAL_AOILEAVE | 0x2a | The thermal imaging channel leaves the area and has information related to the target capture (currently only supports IPC).
NET_SDK_SMART_EVENT_TYPE_THERMAL_TRIPWIRE | 0x2b | Thermal imaging cross-border detection, with target capture related information (currently only supports IPC).

Error Code