Skip to content

NET_SDK_IVE_BINOCULARCOUNT_RULE_T

Structure Definition

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