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_IVE_BINOCULARCOUNT_RULE_T

### Structure Definition

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;
    }

### Function Description

Binocular statistical rule information.

### Member Description

Member | Type | Remark
--- | --- | ---
ruleType | unsigned int | Indicates whether the current structure is line rule or area rule, 0: line rule, 1: area rule
direction | unsigned int | Regular direction, 1: any direction; 2: from right to left, from bottom to top; 3: from left to right, from top to bottom
rulePointNumA | unsigned int | Line rule coordinates, if it is an area rule, then it is area A
rulePointNumB | unsigned int | Line rule type, this data is 0

Error Code