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.

# DD_SMART_VFD_CONFIG

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    typedef struct _dd_smart_vfd_config_
    {
        unsigned int iSize;
        unsigned char enableFaceDetect;
        unsigned char enableSaveFacePicture;
        unsigned short enableSaveSourcePicture;
        unsigned int holdTime;
        DD_POSITION startPoint;
        DD_POSITION endPoint;
        unsigned int pushModeType;
        unsigned int intervalTime;
    } DD_SMART_VFD_CONFIG;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_SMART_VFD_CONFIG
    {
        public UInt32 iSize;
        public byte enableFaceDetect;
        public byte enableSaveFacePicture;
        public UInt16 enableSaveSourcePicture;
        public UInt32 holdTime;
        public DD_POSITION startPoint;
        public DD_POSITION endPoint;
        public UInt32 pushModeType;
        public UInt32 intervalTime;
    }

### Function Description

Face matching configuration.

### Member Description

Member | Type | Remark
--- | --- | ---
iSize | unsigned int | The length of this structure.
enableFaceDetect | unsigned char | Whether to enable face detection.
enableSaveFacePicture | unsigned char | Whether to save face images.
enableSaveSourcePicture | unsigned short | Whether to save the face detection source image.
holdTime | unsigned int | Duration.
startPoint | `DD_POSITION` | The coordinate information of the upper left point of the rectangle.
endPoint | `DD_POSITION` | The coordinate information of the lower right point of the rectangle.
pushModeType | unsigned int | Snapshot mode, 0: automatic mode, no repeated snapshots, 1: snapshot mode at fixed time intervals.
intervalTime | unsigned int | The snapshot interval, in seconds, is valid only when the snapshot mode is 1.

Error Code