houzhongjian
2024-11-06 7412dd652c0ac48c5a17b5d9b61d5d2a0f686137
提交 | 用户 | 时间
149dd0 1 package com.iailab.netsdk.lib.structure;
H 2
3 import com.iailab.netsdk.lib.NetSDKLib.DH_POINT;
4 import com.iailab.netsdk.lib.NetSDKLib.POINTCOORDINATE;
5 import com.iailab.netsdk.lib.NetSDKLib.SdkStructure;
6
7 public class NET_TRAFFIC_RETROGRADE_RULE_INFO extends SdkStructure{
8     /**
9      * 检测区域
10      */
11     public POINTCOORDINATE[]       stuDetectRegion=(POINTCOORDINATE[]) new POINTCOORDINATE().toArray(20);
12     /**
13      * 检测区域顶点数
14      */
15     public int                        nDetectRegionPoint;
16     public byte[]                        byReserved1 = new byte[4];                            // 字节对齐
17     /**
18      * 起点,从起点到终点是正向行驶,反过来是逆行,点的坐标归一化到[0,8192)区间。
19      */
20     public    DH_POINT                    stuDirectionStart;        
21     /**
22      * 终点,从起点到终点是正向行驶,反过来是逆行,点的坐标归一化到[0,8192)区间。 
23      */
24     public    DH_POINT                    stuDirectionEnd;        
25     public int                            nMinDuration;                            // 最短触发时间,单位:秒
26     public int                        nLaneNumber;                            // 车道编号 与场景中的车道号对应
27     public int                        bLegal;                                    // 逆行是否违章
28     public int                        nPositionDistinctness;                    // 抓拍位置变化区分度
29     public int                         nSensitivity;                           // 灵敏度,值越小灵敏度越低。取决于方向夹角,取值1-10
30     public int                        bZoomEnable;                            // 变倍抓拍,违停球做规则判断时,默认会变倍
31     public int                        bSnapMotorcycle;                        // 是否抓拍摩托车
32     public int                        nSnapNonMotor;                            // 是否抓拍非机动车
33     public int                        nSnapNoPlateMotor;                        // 是否抓拍无牌机动车
34     public int                      emSnapPlateMotor;                        // 是否抓拍机动车(NET_EM_SNAP_PLATEMOTOR_TYPE)
35     public int                        nSnapBicycle;                            // 是否抓拍自行车
36     public int                        nDurationTime;                            // 事件检测模式下,逆行时间超过这个值后开始报警,单位:秒,范围0-3600
37     public NET_CFG_SIZEFILTER_INFO     stuSizeFileter;                         // 规则特定的尺寸过滤器
38     public int                        bSizeFileter;                           // 规则特定的尺寸过滤器是否有效
39     public int                        nReverseDisplacement;                    // 逆行位移,默认1024坐标系, 范围是1-1023 单位是像素, 若无该字段或该字段配置为0时,算法设置默认值 
40     public byte[]                        byReserved = new byte[4096];                       // 保留字节
41 }