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_IMG_INFO_CH

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    8
    9
    typedef struct _net_sdk_face_img_info_ch_
    {
        DD_TIME_EX frameTime;
        unsigned int snapImgId;
        unsigned int targetImgId;
        unsigned int chl;
        unsigned char isPanorama;
        unsigned char resv[7];
    } NET_SDK_FACE_IMG_INFO_CH;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_FACE_IMG_INFO_CH
    {
        public DD_TIME_EX frameTime;
        public UInt32 snapImgId;
        public UInt32 targetImgId;
        public UInt32 chl;
        public byte isPanorama;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 7)]
        public byte[] resv;
    }

### Function Description

Channel image information can be used as the target image for face comparison during channel capture.

### Member Description

Member | Type | Remark
--- | --- | ---
frameTime | `DD_TIME_EX` | Capture time.
snapImgId | unsigned int | The captured image id.
targetImgId | unsigned int | The target image id.
chl | unsigned int | Snapshot channel. If the value returns 255, it means the channel has been deleted.
isPanorama | unsigned char | 0 represents a snapshot, and 1 represents a panoramic image.
resv | unsigned char[7] | Reserved field.

Error Code