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

# NET_SDK_IVE_BINOCULARCOUNT_RULE_T

### 结构体定义

C++C#

    1
    2
    3
    4
    5
    6
    7
    8
    typedef struct
    {
        unsigned int ruleId;
        unsigned int ruleType;
        unsigned int direction;
        unsigned int rulePointNumA;
        unsigned int rulePointNumB;
    }NET_SDK_IVE_BINOCULARCOUNT_RULE_T;

    1
    2
    3
    4
    5
    6
    7
    8
    9
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_IVE_BINOCULARCOUNT_RULE_T
    {
        public UInt32 ruleId;
        public UInt32 ruleType;
        public UInt32 direction;
        public UInt32 rulePointNumA;
        public UInt32 rulePointNumB;
    }

### 功能描述

双目统计规则信息。

### 成员说明

成员 | 类型 | 说明
--- | --- | ---
ruleType | unsigned int | 指示当前结构的是线规则还是区域规则，0:线规则,1:区域规则
direction | unsigned int | 规则方向,1:任意方向;2:从右到左,从下到上;3:从左到右,从上到下
rulePointNumA | unsigned int | 线规则坐标，如果为区域规则，则为A区域
rulePointNumB | unsigned int | 线规则类型，此数据为0

错误码