跳转至
本 SDK 仅适用于过去 3 年内发布的设备。我们定期优化和更新 SDK，以确保兼容性和性能。对于超过 3 年的旧设备，我们不保证兼容性，也不会提供技术支持。

# NET_SDK_IVE_BINOCULARCOUNT_T

### 结构体定义

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    typedef struct
    {
        unsigned int enterPersonCount;
        unsigned int enterChildCount;
        unsigned int leavePersonCount;
        unsigned int leaveChildCount;
        unsigned int existPersonCount;
        unsigned int existChildCount;
        unsigned int globalEnterChildCounter;
        unsigned int globalEnterPersonCounter;
        unsigned int globalLeaveChildCounter;
        unsigned int globalLeavePersonCounter;
        unsigned long long releativePts;
    }NET_SDK_IVE_BINOCULARCOUNT_T;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_IVE_BINOCULARCOUNT_T
    {
        public UInt32 enterPersonCount;
        public UInt32 enterChildCount;
        public UInt32 leavePersonCount;
        public UInt32 leaveChildCount;
        public UInt32 existPersonCount;
        public UInt32 existChildCount;
        public UInt32 globalEnterChildCounter;
        public UInt32 globalEnterPersonCounter;
        public UInt32 globalLeaveChildCounter;
        public UInt32 globalLeavePersonCounter;
        public UInt64 releativePts;
    }

### 功能描述

双目统计信息。

### 成员说明

成员 | 类型 | 说明
--- | --- | ---
enterPersonCount | unsigned int | 进入人数(成人+儿童数)，同osd显示
enterChildCount | unsigned int | 进入儿童数，同osd显示
leavePersonCount | unsigned int | 离开人数(成人+儿童数)，同osd显示
leaveChildCount | unsigned int | 离开儿童数，同osd显示
existPersonCount | unsigned int | 留存人数(成人+儿童数)，同osd显示
existChildCount | unsigned int | 留存儿童数，同osd显示
globalEnterChildCounter | unsigned int | 总进入儿童数，一直累计，方便对接方做增量计算
globalEnterPersonCounter | unsigned int | 总进入人数(成人+儿童)，一直累计，方便对接方做增量计算
globalLeaveChildCounter | unsigned int | 总离开儿童数，一直累计，方便对接方做增量计算
globalLeavePersonCounter | unsigned int | 总离开人数(成人+儿童)，一直累计，方便对接方做增量计算
releativePts | unsigned long long | 相对时间戳

错误码