提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 260611 |
|
7 |
* @description 事件类型EVENT_IVS_VIDEOABNORMALDETECTION(视频异常)对应的规则配置 |
|
8 |
* @origin autoTool |
|
9 |
* @date 2023/10/31 09:24:33 |
|
10 |
*/ |
|
11 |
public class CFG_VIDEOABNORMALDETECTION_INFO extends NetSDKLib.SdkStructure { |
|
12 |
/** |
|
13 |
* null |
|
14 |
*/ |
|
15 |
public byte[] szRuleName = new byte[128]; |
|
16 |
/** |
|
17 |
* 规则使能 |
|
18 |
*/ |
|
19 |
public byte bRuleEnable; |
|
20 |
/** |
|
21 |
* 灵敏度, 取值1-10,值越小灵敏度越低(只对检测类型视频遮挡,过亮,过暗,场景变化有效) |
|
22 |
*/ |
|
23 |
public byte bSensitivity; |
|
24 |
/** |
|
25 |
* 保留字段 |
|
26 |
*/ |
|
27 |
public byte[] bReserved = new byte[2]; |
|
28 |
/** |
|
29 |
* 相应物体类型个数 |
|
30 |
*/ |
|
31 |
public int nObjectTypeNum; |
|
32 |
/** |
|
33 |
* 相应物体类型列表 |
|
34 |
*/ |
|
35 |
public byte[] szObjectTypes = new byte[16 * 128]; |
|
36 |
/** |
|
37 |
* 云台预置点编号 0~65535 |
|
38 |
*/ |
|
39 |
public int nPtzPresetId; |
|
40 |
/** |
|
41 |
* 检测类型数 |
|
42 |
*/ |
|
43 |
public int nDetectType; |
|
44 |
/** |
|
45 |
* 检测类型,0-视频丢失, 1-视频遮挡, 2-画面冻结, 3-过亮, 4-过暗, 5-场景变化 6-条纹检测 , 7-噪声检测 , 8-偏色检测 , |
|
46 |
* 9-视频模糊检测 , 10-对比度异常检测 11-视频运动 , 12-视频闪烁 , 13-视频颜色 , 14-虚焦检测 , 15-过曝检测, |
|
47 |
* 16-场景巨变 |
|
48 |
*/ |
|
49 |
public byte[] bDetectType = new byte[32]; |
|
50 |
/** |
|
51 |
* null |
|
52 |
*/ |
|
53 |
public int nMinDuration; |
|
54 |
/** |
|
55 |
* 报警联动 |
|
56 |
*/ |
|
57 |
public NetSDKLib.CFG_ALARM_MSG_HANDLE stuEventHandler = new NetSDKLib.CFG_ALARM_MSG_HANDLE(); |
|
58 |
/** |
|
59 |
* 事件响应时间段 |
|
60 |
*/ |
|
61 |
public NetSDKLib.CFG_TIME_SECTION[] stuTimeSection = new NetSDKLib.CFG_TIME_SECTION[7 * 10]; |
|
62 |
/** |
|
63 |
* 检测区顶点数 |
|
64 |
*/ |
|
65 |
public int nDetectRegionPoint; |
|
66 |
/** |
|
67 |
* 检测区 |
|
68 |
*/ |
|
69 |
public NetSDKLib.CFG_POLYGON[] stuDetectRegion = new NetSDKLib.CFG_POLYGON[20]; |
|
70 |
/** |
|
71 |
* 异常检测阈值数量 |
|
72 |
*/ |
|
73 |
public int nThresholdNum; |
|
74 |
/** |
|
75 |
* 异常检测阈值,范围1~100 |
|
76 |
*/ |
|
77 |
public int[] nThreshold = new int[32]; |
|
78 |
|
|
79 |
public CFG_VIDEOABNORMALDETECTION_INFO() { |
|
80 |
for (int i = 0; i < stuTimeSection.length; i++) { |
|
81 |
stuTimeSection[i] = new NetSDKLib.CFG_TIME_SECTION(); |
|
82 |
} |
|
83 |
for (int i = 0; i < stuDetectRegion.length; i++) { |
|
84 |
stuDetectRegion[i] = new NetSDKLib.CFG_POLYGON(); |
|
85 |
} |
|
86 |
} |
|
87 |
} |