提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.enumeration; |
H |
2 |
|
|
3 |
|
|
4 |
/** |
|
5 |
* @author : 260611 |
|
6 |
* @description : 大类业务方案 |
|
7 |
* @since : Created in 2021/11/05 16:06 |
|
8 |
*/ |
|
9 |
|
|
10 |
public enum EM_CLASS_TYPE { |
|
11 |
/** |
|
12 |
* 未知业务 |
|
13 |
*/ |
|
14 |
EM_CLASS_UNKNOWN(0,"未知业务"), |
|
15 |
/** |
|
16 |
* 视频浓缩 |
|
17 |
*/ |
|
18 |
EM_CLASS_VIDEO_SYNOPSIS(1,"视频浓缩"), |
|
19 |
/** |
|
20 |
* 卡口 |
|
21 |
*/ |
|
22 |
EM_CLASS_TRAFFIV_GATE(2,"卡口"), |
|
23 |
/** |
|
24 |
* 电警 |
|
25 |
*/ |
|
26 |
EM_CLASS_ELECTRONIC_POLICE(3,"电警"), |
|
27 |
/** |
|
28 |
* 单球违停 |
|
29 |
*/ |
|
30 |
EM_CLASS_SINGLE_PTZ_PARKING(4,"单球违停"), |
|
31 |
/** |
|
32 |
* 主从违停 |
|
33 |
*/ |
|
34 |
EM_CLASS_PTZ_PARKINBG(5,"主从违停"), |
|
35 |
/** |
|
36 |
* 交通事件 Traffic |
|
37 |
*/ |
|
38 |
EM_CLASS_TRAFFIC(6,"交通事件 Traffic "), |
|
39 |
/** |
|
40 |
* 通用行为分析 Normal |
|
41 |
*/ |
|
42 |
EM_CLASS_NORMAL(7,"通用行为分析 Normal "), |
|
43 |
/** |
|
44 |
* |
|
45 |
*/ |
|
46 |
EM_CLASS_PS(8,""), |
|
47 |
/** |
|
48 |
* 金融行为分析 ATM |
|
49 |
*/ |
|
50 |
EM_CLASS_ATM(9,"金融行为分析 ATM "), |
|
51 |
/** |
|
52 |
* 地铁行为分析 |
|
53 |
*/ |
|
54 |
EM_CLASS_METRO(10,"地铁行为分析"), |
|
55 |
/** |
|
56 |
* 目标检测 FaceDetection |
|
57 |
*/ |
|
58 |
EM_CLASS_FACE_DETECTION(11,"目标检测 FaceDetection "), |
|
59 |
/** |
|
60 |
* 目标识别 FaceRecognition |
|
61 |
*/ |
|
62 |
EM_CLASS_FACE_RECOGNITION(12,"目标识别 FaceRecognition "), |
|
63 |
/** |
|
64 |
* 人数统计 NumberStat |
|
65 |
*/ |
|
66 |
EM_CLASS_NUMBER_STAT(13,"人数统计 NumberStat "), |
|
67 |
/** |
|
68 |
* 热度图 HeatMap |
|
69 |
*/ |
|
70 |
EM_CLASS_HEAT_MAP(14,"热度图 HeatMap "), |
|
71 |
/** |
|
72 |
* 视频诊断 VideoDiagnosis |
|
73 |
*/ |
|
74 |
EM_CLASS_VIDEO_DIAGNOSIS(15,"视频诊断 VideoDiagnosis "), |
|
75 |
/** |
|
76 |
* 视频增强 |
|
77 |
*/ |
|
78 |
EM_CLASS_VIDEO_ENHANCE(16,"视频增强"), |
|
79 |
/** |
|
80 |
* 烟火检测 |
|
81 |
*/ |
|
82 |
EM_CLASS_SMOKEFIRE_DETECT(17,"烟火检测"), |
|
83 |
/** |
|
84 |
* 车辆特征识别 VehicleAnalyse |
|
85 |
*/ |
|
86 |
EM_CLASS_VEHICLE_ANALYSE(18,"车辆特征识别 VehicleAnalyse "), |
|
87 |
/** |
|
88 |
* 人员特征识别 |
|
89 |
*/ |
|
90 |
EM_CLASS_PERSON_FEATURE(19,"人员特征识别"), |
|
91 |
/** |
|
92 |
* 多预置点目标检测 SDFaceDetect |
|
93 |
*/ |
|
94 |
EM_CLASS_SDFACEDETECTION(20,"多预置点目标检测 SDFaceDetect "), |
|
95 |
/** |
|
96 |
* 球机热度图计划 HeatMapPlan |
|
97 |
*/ |
|
98 |
EM_CLASS_HEAT_MAP_PLAN(21,"球机热度图计划 HeatMapPlan "), |
|
99 |
/** |
|
100 |
* 球机客流量统计计划 NumberStatPlan |
|
101 |
*/ |
|
102 |
EM_CLASS_NUMBERSTAT_PLAN(22,"球机客流量统计计划 NumberStatPlan "), |
|
103 |
/** |
|
104 |
* 金融目标检测,包括正常人脸、异常人脸、相邻人脸、头盔人脸等针对ATM场景特殊优化 |
|
105 |
*/ |
|
106 |
EM_CLASS_ATMFD(23,"金融目标检测,包括正常人脸、异常人脸、相邻人脸、头盔人脸等针对ATM场景特殊优化"), |
|
107 |
/** |
|
108 |
* 高速交通事件检测 Highway |
|
109 |
*/ |
|
110 |
EM_CLASS_HIGHWAY(24,"高速交通事件检测 Highway "), |
|
111 |
/** |
|
112 |
* 城市交通事件检测 City |
|
113 |
*/ |
|
114 |
EM_CLASS_CITY(25,"城市交通事件检测 City "), |
|
115 |
/** |
|
116 |
* 民用简易跟踪 LeTrack |
|
117 |
*/ |
|
118 |
EM_CLASS_LETRACK(26,"民用简易跟踪 LeTrack "), |
|
119 |
/** |
|
120 |
* 打靶相机 SCR |
|
121 |
*/ |
|
122 |
EM_CLASS_SCR(27,"打靶相机 SCR "), |
|
123 |
/** |
|
124 |
* 立体视觉(双目) StereoVision |
|
125 |
*/ |
|
126 |
EM_CLASS_STEREO_VISION(28,"立体视觉(双目) StereoVision "), |
|
127 |
/** |
|
128 |
* 人体检测 HumanDetect |
|
129 |
*/ |
|
130 |
EM_CLASS_HUMANDETECT(29,"人体检测 HumanDetect "), |
|
131 |
/** |
|
132 |
* 人脸分析 FaceAnalysis |
|
133 |
*/ |
|
134 |
EM_CLASS_FACE_ANALYSIS(30,"人脸分析 FaceAnalysis "), |
|
135 |
/** |
|
136 |
* X光检测 XRayDetection |
|
137 |
*/ |
|
138 |
EM_CALSS_XRAY_DETECTION(31,"X光检测 XRayDetection "), |
|
139 |
/** |
|
140 |
* 双目相机客流量统计 StereoNumber |
|
141 |
*/ |
|
142 |
EM_CLASS_STEREO_NUMBER(32,"双目相机客流量统计 StereoNumber "), |
|
143 |
/** |
|
144 |
* 人群分布图 |
|
145 |
*/ |
|
146 |
EM_CLASS_CROWDDISTRIMAP(33,"人群分布图"), |
|
147 |
/** |
|
148 |
* 目标检测 |
|
149 |
*/ |
|
150 |
EM_CLASS_OBJECTDETECT(34,"目标检测"), |
|
151 |
/** |
|
152 |
* IVSS目标检测 FaceAttribute |
|
153 |
*/ |
|
154 |
EM_CLASS_FACEATTRIBUTE(35,"IVSS目标检测 FaceAttribute "), |
|
155 |
/** |
|
156 |
* IVSS目标识别 FaceCompare |
|
157 |
*/ |
|
158 |
EM_CLASS_FACECOMPARE(36,"IVSS目标识别 FaceCompare "), |
|
159 |
/** |
|
160 |
* 立体行为分析 StereoBehavior |
|
161 |
*/ |
|
162 |
EM_CALSS_STEREO_BEHAVIOR(37,"立体行为分析 StereoBehavior "), |
|
163 |
/** |
|
164 |
* 智慧城管 IntelliCityMgr |
|
165 |
*/ |
|
166 |
EM_CALSS_INTELLICITYMANAGER(38,"智慧城管 IntelliCityMgr "), |
|
167 |
/** |
|
168 |
* 防护舱(ATM舱内) ProtectiveCabin |
|
169 |
*/ |
|
170 |
EM_CALSS_PROTECTIVECABIN(39,"防护舱(ATM舱内) ProtectiveCabin "), |
|
171 |
/** |
|
172 |
* 飞机行为检测 AirplaneDetect |
|
173 |
*/ |
|
174 |
EM_CALSS_AIRPLANEDETECT(40,"飞机行为检测 AirplaneDetect "), |
|
175 |
/** |
|
176 |
* 人群态势(人群分布图服务) CrowdPosture |
|
177 |
*/ |
|
178 |
EM_CALSS_CROWDPOSTURE(41,"人群态势(人群分布图服务) CrowdPosture "), |
|
179 |
/** |
|
180 |
* 打电话检测 PhoneCallDetect |
|
181 |
*/ |
|
182 |
EM_CLASS_PHONECALLDETECT(42,"打电话检测 PhoneCallDetect "), |
|
183 |
/** |
|
184 |
* 烟雾检测 SmokeDetection |
|
185 |
*/ |
|
186 |
EM_CLASS_SMOKEDETECTION(43,"烟雾检测 SmokeDetection "), |
|
187 |
/** |
|
188 |
* 船只检测 BoatDetection |
|
189 |
*/ |
|
190 |
EM_CLASS_BOATDETECTION(44,"船只检测 BoatDetection "), |
|
191 |
/** |
|
192 |
* 吸烟检测 SmokingDetect |
|
193 |
*/ |
|
194 |
EM_CLASS_SMOKINGDETECT(45,"吸烟检测 SmokingDetect "), |
|
195 |
/** |
|
196 |
* 水利监测 WaterMonitor |
|
197 |
*/ |
|
198 |
EM_CLASS_WATERMONITOR(46,"水利监测 WaterMonitor "), |
|
199 |
/** |
|
200 |
* 生成图规则 GenerateGraphDetection |
|
201 |
*/ |
|
202 |
EM_CLASS_GENERATEGRAPHDETECTION(47,"生成图规则 GenerateGraphDetection "), |
|
203 |
/** |
|
204 |
* 交通停车 TrafficPark |
|
205 |
*/ |
|
206 |
EM_CLASS_TRAFFIC_PARK(48,"交通停车 TrafficPark "), |
|
207 |
/** |
|
208 |
* 作业检测 OperateMonitor |
|
209 |
*/ |
|
210 |
EM_CLASS_OPERATEMONITOR(49,"作业检测 OperateMonitor "), |
|
211 |
/** |
|
212 |
* 智慧零售大类 IntelliRetail |
|
213 |
*/ |
|
214 |
EM_CLASS_INTELLI_RETAIL(50,"智慧零售大类 IntelliRetail "), |
|
215 |
/** |
|
216 |
* 教育智慧课堂 ClassroomAnalyse |
|
217 |
*/ |
|
218 |
EM_CLASS_CLASSROOM_ANALYSE(51,"教育智慧课堂 ClassroomAnalyse "), |
|
219 |
/** |
|
220 |
* 特征向量提取大类 FeatureAbstract |
|
221 |
*/ |
|
222 |
EM_CLASS_FEATURE_ABSTRACT(52,"特征向量提取大类 FeatureAbstract "), |
|
223 |
/** |
|
224 |
* 人体检测大类 FaceBodyDetect |
|
225 |
*/ |
|
226 |
EM_CLASS_FACEBODY_DETECT(53,"人体检测大类 FaceBodyDetect "), |
|
227 |
/** |
|
228 |
* 人体识别大类 FaceBodyAnalyse |
|
229 |
*/ |
|
230 |
EM_CLASS_FACEBODY_ANALYSE(54,"人体识别大类 FaceBodyAnalyse "), |
|
231 |
/** |
|
232 |
* 车辆密度 VehiclesDistri |
|
233 |
*/ |
|
234 |
EM_CLASS_VEHICLES_DISTRI(55,"车辆密度 VehiclesDistri "), |
|
235 |
/** |
|
236 |
* 智慧养殖检测 IntelliBreed |
|
237 |
*/ |
|
238 |
EM_CLASS_INTELLI_BREED(56,"智慧养殖检测 IntelliBreed "), |
|
239 |
/** |
|
240 |
* |
|
241 |
*/ |
|
242 |
EM_CLASS_INTELLI_PS(57,""), |
|
243 |
/** |
|
244 |
* 电力检测 ElectricDetect |
|
245 |
*/ |
|
246 |
EM_CLASS_ELECTRIC_DETECT(58,"电力检测 ElectricDetect "), |
|
247 |
/** |
|
248 |
* 雷达检测 RadarDetect |
|
249 |
*/ |
|
250 |
EM_CLASS_RADAR_DETECT(59,"雷达检测 RadarDetect "), |
|
251 |
/** |
|
252 |
* 车位检测大类 ParkingSpace |
|
253 |
*/ |
|
254 |
EM_CLASS_PARKINGSPACE(60,"车位检测大类 ParkingSpace "), |
|
255 |
/** |
|
256 |
* 智慧金融 IntelliFinance |
|
257 |
*/ |
|
258 |
EM_CLASS_INTELLI_FINANCE(61,"智慧金融 IntelliFinance "), |
|
259 |
/** |
|
260 |
* 人群异常检测 CrowdAbnormal |
|
261 |
*/ |
|
262 |
EM_CLASS_CROWD_ABNORMAL(62,"人群异常检测 CrowdAbnormal "), |
|
263 |
/** |
|
264 |
* 人体温智能检测 AnatomyTempDetect |
|
265 |
*/ |
|
266 |
EM_CLASS_ANATOMY_TEMP_DETECT(63,"人体温智能检测 AnatomyTempDetect "), |
|
267 |
/** |
|
268 |
* 天气监控 WeatherMonitor |
|
269 |
*/ |
|
270 |
EM_CLASS_WEATHER_MONITOR(64,"天气监控 WeatherMonitor "), |
|
271 |
/** |
|
272 |
* 电梯门禁 ElevatorAccessControl |
|
273 |
*/ |
|
274 |
EM_CLASS_ELEVATOR_ACCESS_CONTROL(65,"电梯门禁 ElevatorAccessControl "), |
|
275 |
/** |
|
276 |
* 违章建筑 BreakRuleBuilding |
|
277 |
*/ |
|
278 |
EM_CLASS_BREAK_RULE_BUILDING(66,"违章建筑 BreakRuleBuilding "), |
|
279 |
/** |
|
280 |
* 异物检测 ForeignDetection |
|
281 |
*/ |
|
282 |
EM_CLASS_FOREIGN_DETECT(67,"异物检测 ForeignDetection "), |
|
283 |
/** |
|
284 |
* 全景交通 PanoramaTraffic |
|
285 |
*/ |
|
286 |
EM_CLASS_PANORAMA_TRAFFIC(68,"全景交通 PanoramaTraffic "), |
|
287 |
/** |
|
288 |
* 传送带阻塞 ConveyorBlock |
|
289 |
*/ |
|
290 |
EM_CLASS_CONVEY_OR_BLOCK(69,"传送带阻塞 ConveyorBlock "), |
|
291 |
/** |
|
292 |
* 厨房有害动物检测 KitchenAnimal |
|
293 |
*/ |
|
294 |
EM_CLASS_KITCHEN_ANIMAL(70,"厨房有害动物检测 KitchenAnimal "), |
|
295 |
/** |
|
296 |
* 万物检测 AllSeeingEye |
|
297 |
*/ |
|
298 |
EM_CLASS_ALLSEEINGEYE(71,"万物检测 AllSeeingEye "), |
|
299 |
/** |
|
300 |
* 智慧消防 IntelliFireControl |
|
301 |
*/ |
|
302 |
EM_CLASS_INTELLI_FIRE_CONTROL(72,"智慧消防 IntelliFireControl "), |
|
303 |
/** |
|
304 |
* 传送带检测 ConveyerBelt |
|
305 |
*/ |
|
306 |
EM_CLASS_CONVERYER_BELT(73,"传送带检测 ConveyerBelt "), |
|
307 |
/** |
|
308 |
* 智慧物流 IntelliLogistics |
|
309 |
*/ |
|
310 |
EM_CLASS_INTELLI_LOGISTICS(74,"智慧物流 IntelliLogistics "), |
|
311 |
/** |
|
312 |
* 烟火检测 SmokeFire |
|
313 |
*/ |
|
314 |
EM_CLASS_SMOKE_FIRE(75,"烟火检测 SmokeFire "), |
|
315 |
/** |
|
316 |
* 物品监控 ObjectMonitor |
|
317 |
*/ |
|
318 |
EM_CLASS_OBJECT_MONITOR(76,"物品监控 ObjectMonitor "), |
|
319 |
/** |
|
320 |
* 智能停车 IntelliParking |
|
321 |
*/ |
|
322 |
EM_CLASS_INTELLI_PARKING(77,"智能停车 IntelliParking "), |
|
323 |
/** |
|
324 |
* 智慧消防 FireControl |
|
325 |
*/ |
|
326 |
EM_CLASS_FIRE_CONTROL(78,"智慧消防 FireControl "), |
|
327 |
/** |
|
328 |
* 动物检测 AnimalDetection |
|
329 |
*/ |
|
330 |
EM_CLASS_ANIMAL_DETECTION(79,"动物检测 AnimalDetection "), |
|
331 |
/** |
|
332 |
* 火警监控 FireControlMonitor |
|
333 |
*/ |
|
334 |
EM_CLASS_FIRE_CONTROL_MONITOR(80,"火警监控 FireControlMonitor "), |
|
335 |
/** |
|
336 |
* 鱼群监测 FishMonitor |
|
337 |
*/ |
|
338 |
EM_CLASS_FISH_MONITOR(81,"鱼群监测 FishMonitor "), |
|
339 |
/** |
|
340 |
* 工程车检测 ShopTruckDetect |
|
341 |
*/ |
|
342 |
EM_CLASS_SHOPTRUCK_DETECT(82,"工程车检测 ShopTruckDetect "); |
|
343 |
|
|
344 |
private int value; |
|
345 |
|
|
346 |
private String note; |
|
347 |
|
|
348 |
public String getNote() { |
|
349 |
return note; |
|
350 |
} |
|
351 |
|
|
352 |
public int getValue() { |
|
353 |
return value; |
|
354 |
} |
|
355 |
|
|
356 |
EM_CLASS_TYPE(int givenValue, String note) { |
|
357 |
this.value = givenValue; |
|
358 |
this.note = note; |
|
359 |
} |
|
360 |
|
|
361 |
public static String getNoteByValue(int givenValue) { |
|
362 |
for (EM_CLASS_TYPE enumType : EM_CLASS_TYPE.values()) { |
|
363 |
if (givenValue == enumType.getValue()) { |
|
364 |
return enumType.getNote(); |
|
365 |
} |
|
366 |
} |
|
367 |
return null; |
|
368 |
} |
|
369 |
|
|
370 |
public static int getValueByNote(String givenNote) { |
|
371 |
for (EM_CLASS_TYPE enumType : EM_CLASS_TYPE.values()) { |
|
372 |
if (givenNote.equals(enumType.getNote())) { |
|
373 |
return enumType.getValue(); |
|
374 |
} |
|
375 |
} |
|
376 |
return -1; |
|
377 |
} |
|
378 |
|
|
379 |
public static EM_CLASS_TYPE getEnum(int value) { |
|
380 |
for (EM_CLASS_TYPE e : EM_CLASS_TYPE.values()) { |
|
381 |
if (e.getValue() == value) |
|
382 |
return e; |
|
383 |
} |
|
384 |
return EM_CLASS_TYPE.EM_CLASS_UNKNOWN; |
|
385 |
} |
|
386 |
|
|
387 |
} |