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_VFD_CONFIG

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    typedef struct _net_sdk_Vfd_Config
    {
        unsigned int bSwitch;
        unsigned int alarmHoldTime;
        unsigned int saveFacePicture;
        unsigned int saveSourcePicture;
        unsigned int rectangleNum;
        RECTANGLE rectangle;
        unsigned char resv[40];
    } NET_SDK_VFD_CONFIG;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_VFD_CONFIG
    {
        public UInt32 bSwitch;
        public UInt32 alarmHoldTime;
        public UInt32 saveFacePicture;
        public UInt32 saveSourcePicture;
        public UInt32 rectangleNum;
        public RECTANGLE rectangle;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 40)]
        public byte[] resv;
    }

### Function Description

Face recognition configuration structure.

### Member Description

Member | Type | Remark
--- | --- | ---
bSwitch | unsigned int | Enable, 0 or 1.
alarmHoldTime | unsigned int | Alarm duration.
saveFacePicture | unsigned int | Save the face detection face image.
saveSourcePicture | unsigned int | Save the face detection source image.
rectangleNum | unsigned int | The number of rectangles.
rectangle | `RECTANGLE` | Rectangular frame.
resv | unsigned char[40] | Reserved field.

Error Code