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_MATCH_ALARM

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    typedef struct _net_sdk_face_match_alarm_
    {
        unsigned int similarity;
        unsigned int enableCH[128];
        unsigned int faceFeatureGroupsNum;
        NET_SDK_FACE_MATCH_ALARM_TRIGGER* pFaceMatchAlarmTrigger;
    } NET_SDK_FACE_MATCH_ALARM;

    1
    2
    3
    4
    5
    6
    7
    8
    9
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_FACE_MATCH_ALARM
    {
        public UInt32 similarity;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U4, SizeConst = 128)]
        public UInt32[] enableCH;
        public UInt32 faceFeatureGroupsNum;
        public IntPtr pFaceMatchAlarmTrigger;
    }

### Function Description

Face matching alarm.

### Member Description

Member | Type | Remark
--- | --- | ---
similarity | unsigned int | Compare similarities.
enableCH | unsigned int[128] | The opened channels start with channel index 1.
faceFeatureGroupsNum | unsigned int | Number of target group linkage information.
pFaceMatchAlarmTrigger | `NET_SDK_FACE_MATCH_ALARM_TRIGGER`* | Target group linkage information

Error Code