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