提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
|
|
4 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 291189 |
|
8 |
* @description 事件类型EVENT_IVS_VEHICLEDETECT(机动车事件)对应的规则配置 |
|
9 |
* @origin autoTool |
|
10 |
* @date 2023/05/29 11:40:48 |
|
11 |
*/ |
|
12 |
public class NET_VEHICLEDETECT_RULE_INFO extends NetSDKLib.SdkStructure { |
|
13 |
/** |
|
14 |
结构体大小 |
|
15 |
*/ |
|
16 |
public int dwSize; |
|
17 |
/** |
|
18 |
车辆抓拍阈值,是一个百分数,表示当车辆检测框高度占画面百分比大于这个阈值时,触发规则进行抓拍。 |
|
19 |
*/ |
|
20 |
public int nSnapThreshold; |
|
21 |
/** |
|
22 |
检测区顶点数 |
|
23 |
*/ |
|
24 |
public int nDetectRegionPoint; |
|
25 |
/** |
|
26 |
检测区 |
|
27 |
*/ |
|
28 |
public POINTCOORDINATE[] stuDetectRegion=new POINTCOORDINATE[20]; |
|
29 |
/** |
|
30 |
排除区域数 |
|
31 |
*/ |
|
32 |
public int nExcludeRegionNum; |
|
33 |
/** |
|
34 |
排除区域 |
|
35 |
*/ |
|
36 |
public DH_POLY_POINTS[] stuExcludeRegion=new DH_POLY_POINTS[10]; |
|
37 |
/** |
|
38 |
合规报警规则 |
|
39 |
*/ |
|
40 |
public NET_COMPLIANT_INFO stuCompliant=new NET_COMPLIANT_INFO(); |
|
41 |
/** |
|
42 |
是否提取机动车特征向量 |
|
43 |
*/ |
|
44 |
public int bFeatureExtractEnable; |
|
45 |
/** |
|
46 |
是否使用尺寸过滤器 |
|
47 |
*/ |
|
48 |
public int bSizeFileter; |
|
49 |
/** |
|
50 |
规则特定的尺寸过滤器,提高判断精度 |
|
51 |
*/ |
|
52 |
public NET_CFG_SIZEFILTER_INFO stuSizeFileter=new NET_CFG_SIZEFILTER_INFO(); |
|
53 |
|
|
54 |
public NET_VEHICLEDETECT_RULE_INFO(){ |
|
55 |
for(int i=0;i<stuDetectRegion.length;i++){ |
|
56 |
stuDetectRegion[i]=new POINTCOORDINATE(); |
|
57 |
} |
|
58 |
for(int i=0;i<stuExcludeRegion.length;i++){ |
|
59 |
stuExcludeRegion[i]=new DH_POLY_POINTS(); |
|
60 |
} |
|
61 |
this.dwSize=this.size(); |
|
62 |
} |
|
63 |
} |