json.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. /* 算法信息 */
  2. {
  3. "code": "0",
  4. "message": "成功",
  5. "data": [
  6. {
  7. "aiName": "疲劳检测",
  8. "muAiName": "疲劳检测",
  9. "sceneName": null,
  10. "muAiTypeId": 6,
  11. "taskTypeId": 6,
  12. "taskTypeCode": "TaskType89j46ace4bx",
  13. "needMark": false,
  14. "supportSequential": false,
  15. "isGaoTie": false,
  16. "frequency": [
  17. "5s",
  18. "10s",
  19. "15s",
  20. "30s",
  21. "60s",
  22. "5min",
  23. "15min",
  24. "60min"
  25. ],
  26. "calTypeName": "自建应用",
  27. "abilityType": 5,
  28. "baseConfig": true,
  29. "osConfig": false,
  30. "ability": "OD210_021_004790_001-l2MahE4v",
  31. "appStatus": 0,
  32. "status": 0,
  33. "orderType": 0,
  34. "errorMsg": "安装成功",
  35. "isUsed": null
  36. },
  37. {
  38. "aiName": "摔倒识别",
  39. "muAiName": "摔倒识别",
  40. "sceneName": null,
  41. "muAiTypeId": 5,
  42. "taskTypeId": 5,
  43. "taskTypeCode": "TaskType9gusadr93ou",
  44. "needMark": false,
  45. "supportSequential": false,
  46. "isGaoTie": false,
  47. "frequency": [
  48. "5s",
  49. "10s",
  50. "15s",
  51. "30s",
  52. "60s",
  53. "5min",
  54. "15min",
  55. "60min"
  56. ],
  57. "calTypeName": "自建应用",
  58. "abilityType": 5,
  59. "baseConfig": true,
  60. "osConfig": false,
  61. "ability": "OD210_021_001871_051-l2MahE4v",
  62. "appStatus": 0,
  63. "status": 0,
  64. "orderType": 0,
  65. "errorMsg": "安装成功",
  66. "isUsed": null
  67. },
  68. {
  69. "aiName": "睡岗识别",
  70. "muAiName": "睡岗识别",
  71. "sceneName": null,
  72. "muAiTypeId": 4,
  73. "taskTypeId": 4,
  74. "taskTypeCode": "TaskTypeahabqwzwl1x",
  75. "needMark": false,
  76. "supportSequential": false,
  77. "isGaoTie": false,
  78. "frequency": [
  79. "5s",
  80. "10s",
  81. "15s",
  82. "30s",
  83. "60s",
  84. "5min",
  85. "15min",
  86. "60min"
  87. ],
  88. "calTypeName": "自建应用",
  89. "abilityType": 5,
  90. "baseConfig": true,
  91. "osConfig": false,
  92. "ability": "OD210_021_001870_017-l2MahE4v",
  93. "appStatus": 0,
  94. "status": 0,
  95. "orderType": 0,
  96. "errorMsg": "安装成功",
  97. "isUsed": null
  98. },
  99. {
  100. "aiName": "玩手机识别",
  101. "muAiName": "玩手机识别",
  102. "sceneName": null,
  103. "muAiTypeId": 3,
  104. "taskTypeId": 3,
  105. "taskTypeCode": "TaskTypec2e94flbyyq",
  106. "needMark": false,
  107. "supportSequential": false,
  108. "isGaoTie": false,
  109. "frequency": [
  110. "5s",
  111. "10s",
  112. "15s",
  113. "30s",
  114. "60s",
  115. "5min",
  116. "15min",
  117. "60min"
  118. ],
  119. "calTypeName": "自建应用",
  120. "abilityType": 5,
  121. "baseConfig": true,
  122. "osConfig": false,
  123. "ability": "OD210_021_001866_001-l2MahE4v",
  124. "appStatus": 0,
  125. "status": 0,
  126. "orderType": 0,
  127. "errorMsg": "安装成功",
  128. "isUsed": null
  129. },
  130. {
  131. "aiName": "违禁品检测",
  132. "muAiName": "违禁品检测",
  133. "sceneName": null,
  134. "muAiTypeId": 2,
  135. "taskTypeId": 2,
  136. "taskTypeCode": "TaskType49rugxtp855",
  137. "needMark": false,
  138. "supportSequential": false,
  139. "isGaoTie": false,
  140. "frequency": [
  141. "5s",
  142. "10s",
  143. "15s",
  144. "30s",
  145. "60s",
  146. "5min",
  147. "15min",
  148. "60min"
  149. ],
  150. "calTypeName": "自建应用",
  151. "abilityType": 5,
  152. "baseConfig": true,
  153. "osConfig": false,
  154. "ability": "OD210_021_002162_002-l2MahE4v",
  155. "appStatus": 0,
  156. "status": 0,
  157. "orderType": 0,
  158. "errorMsg": "安装成功",
  159. "isUsed": null
  160. },
  161. {
  162. "aiName": "盯屏",
  163. "muAiName": "盯屏",
  164. "sceneName": null,
  165. "muAiTypeId": 1,
  166. "taskTypeId": 1,
  167. "taskTypeCode": "TaskType5h3ifgna34s",
  168. "needMark": false,
  169. "supportSequential": false,
  170. "isGaoTie": false,
  171. "frequency": [
  172. "5s",
  173. "10s",
  174. "15s",
  175. "30s",
  176. "60s",
  177. "5min",
  178. "15min",
  179. "60min"
  180. ],
  181. "calTypeName": "自建应用",
  182. "abilityType": 5,
  183. "baseConfig": true,
  184. "osConfig": false,
  185. "ability": "OD210_101_004362_006-l2MahE4v",
  186. "appStatus": 0,
  187. "status": 0,
  188. "orderType": 0,
  189. "errorMsg": "安装成功",
  190. "isUsed": null
  191. }
  192. ],
  193. "success": true
  194. }
  195. /* 获取到的设备信息 */
  196. {
  197. "code": "0",
  198. "message": "成功",
  199. "data": [
  200. {
  201. "deviceId": 2,
  202. "deviceName": "111222333",
  203. "deviceSerial": "VID9cwyv6fiv0x",
  204. "port": null,
  205. "userAccount": null,
  206. "userPWD": null,
  207. "deviceType": "本地视频",
  208. "taskTypeList": [
  209. {
  210. "taskTypeId": 1,
  211. "ability": "OD210_101_004362_006",
  212. "taskTypeName": "盯屏"
  213. }
  214. ]
  215. },
  216. {
  217. "deviceId": 6,
  218. "deviceName": "广电研发",
  219. "deviceSerial": "rtsp://admin:HZlh123456@172.16.3.229/Streaming/Channels/1601",
  220. "port": null,
  221. "userAccount": null,
  222. "userPWD": null,
  223. "deviceType": "视频流地址",
  224. "taskTypeList": [
  225. {
  226. "taskTypeId": 3,
  227. "ability": "OD210_021_001866_001",
  228. "taskTypeName": "玩手机识别"
  229. }
  230. ]
  231. }
  232. ],
  233. "success": true
  234. }
  235. /* Redis数据 */
  236. {
  237. "actionId": "M100111000",
  238. "actionName": "鑴卞矖绂诲矖璇嗗埆",
  239. "actionResult": true,
  240. "alarmId": 177157,
  241. "bBoxes": [],
  242. "beginTime": "2022-06-12T14:38:05",
  243. "channel": 48,
  244. "classifyId": 2,
  245. "classifyName": "榛樿鍒嗙粍",
  246. "deviceName": "test",
  247. "deviceSerial": "172.16.3.229",
  248. "endTime": "2022-06-12T14:39:05",
  249. "eventTime": "2022-06-12T14:38:35",
  250. "imageInfo": "",
  251. "isKeyPoint": 0,
  252. "picUrl": "1438351535874182926041088.jpg",
  253. "taskId": 1,
  254. "taskName": "1"
  255. }
  256. /* 117数据,应该和要读取的一样 */
  257. {
  258. "actionDes": "",
  259. "actionResult": true,
  260. "alarmId": 73113,
  261. "beginTime": "2024-09-01T16:52:38.426",
  262. "channel": 1,
  263. "classifyId": 64,
  264. "classifyName": "培训教室-海康",
  265. "deviceSerial": "172.16.9.31",
  266. "endTime": "2024-09-01T16:53:38.426",
  267. "eventTime": "2024-09-01T16:53:08.426",
  268. "imageInfo": "http://webdav-read.default:80/webdav//GUI/1/PUMPING/2024/09/01//66d42b74e4b02066478c1ace.jpg",
  269. "isKeyPoint": 0,
  270. "personList": [],
  271. "picUrl": "66d42b74e4b02066478c1ace.jpg",
  272. "taskId": 452,
  273. "taskName": "夜晚001",
  274. "bBoxes": [
  275. {
  276. "bbox": [
  277. 1692,
  278. 369,
  279. 1791,
  280. 604
  281. ],
  282. "colorFlag": 1,
  283. "conf": [
  284. "0.03"
  285. ],
  286. "label": [
  287. "未成年人"
  288. ],
  289. "match_id": "",
  290. "status": false
  291. },
  292. {
  293. "bbox": [
  294. 1755,
  295. 1402,
  296. 1975,
  297. 1539
  298. ],
  299. "colorFlag": 1,
  300. "conf": [
  301. "0.02"
  302. ],
  303. "label": [
  304. "未成年人"
  305. ],
  306. "match_id": "",
  307. "status": false
  308. },
  309. {
  310. "bbox": [
  311. 1572,
  312. 1036,
  313. 1996,
  314. 1576
  315. ],
  316. "colorFlag": 1,
  317. "conf": [
  318. "0.02"
  319. ],
  320. "label": [
  321. "未成年人"
  322. ],
  323. "match_id": "",
  324. "status": false
  325. },
  326. {
  327. "bbox": [
  328. 2257,
  329. 927,
  330. 2335,
  331. 1058
  332. ],
  333. "colorFlag": 1,
  334. "conf": [
  335. "0.02"
  336. ],
  337. "label": [
  338. "未成年人"
  339. ],
  340. "match_id": "",
  341. "status": false
  342. },
  343. {
  344. "bbox": [
  345. 2052,
  346. 445,
  347. 2157,
  348. 650
  349. ],
  350. "colorFlag": 1,
  351. "conf": [
  352. "0.01"
  353. ],
  354. "label": [
  355. "未成年人"
  356. ],
  357. "match_id": "",
  358. "status": false
  359. },
  360. {
  361. "bbox": [
  362. 2038,
  363. 716,
  364. 2099,
  365. 873
  366. ],
  367. "colorFlag": 1,
  368. "conf": [
  369. "0.01"
  370. ],
  371. "label": [
  372. "未成年人"
  373. ],
  374. "match_id": "",
  375. "status": false
  376. },
  377. {
  378. "bbox": [
  379. 2250,
  380. 682,
  381. 2360,
  382. 1055
  383. ],
  384. "colorFlag": 1,
  385. "conf": [
  386. "0.01"
  387. ],
  388. "label": [
  389. "未成年人"
  390. ],
  391. "match_id": "",
  392. "status": false
  393. },
  394. {
  395. "bbox": [
  396. 1521,
  397. 871,
  398. 1766,
  399. 1450
  400. ],
  401. "colorFlag": 1,
  402. "conf": [
  403. "0.01"
  404. ],
  405. "label": [
  406. "未成年人"
  407. ],
  408. "match_id": "",
  409. "status": false
  410. },
  411. {
  412. "bbox": [
  413. 2104,
  414. 716,
  415. 2213,
  416. 907
  417. ],
  418. "colorFlag": 1,
  419. "conf": [
  420. "0.01"
  421. ],
  422. "label": [
  423. "未成年人"
  424. ],
  425. "match_id": "",
  426. "status": false
  427. },
  428. {
  429. "bbox": [
  430. 2063,
  431. 441,
  432. 2150,
  433. 532
  434. ],
  435. "colorFlag": 1,
  436. "conf": [
  437. "0.01"
  438. ],
  439. "label": [
  440. "未成年人"
  441. ],
  442. "match_id": "",
  443. "status": false
  444. }
  445. ]
  446. }
  447. /* 图片识别 */
  448. {
  449. "code": 0,
  450. "result": [
  451. {
  452. "pkid": 1,
  453. "actionId": "M100121000",
  454. "actionTaskid": 112,
  455. "actionName": "疲劳检测"
  456. },
  457. {
  458. "pkid": 2,
  459. "actionId": "M100101000",
  460. "actionTaskid": 104,
  461. "actionName": "未戴口罩"
  462. },
  463. {
  464. "pkid": 3,
  465. "actionId": "M100107000",
  466. "actionTaskid": 105,
  467. "actionName": "吸烟识别"
  468. },
  469. {
  470. "pkid": 4,
  471. "actionId": "P100104000",
  472. "actionTaskid": 106,
  473. "actionName": "人员计数"
  474. },
  475. {
  476. "pkid": 5,
  477. "actionId": "C100107000",
  478. "actionTaskid": 107,
  479. "actionName": "违禁物品"
  480. },
  481. {
  482. "pkid": 6,
  483. "actionId": "E100111000",
  484. "actionTaskid": 109,
  485. "actionName": "动物识别"
  486. },
  487. {
  488. "pkid": 7,
  489. "actionId": "P100101000",
  490. "actionTaskid": 111,
  491. "actionName": "人脸识别"
  492. },
  493. {
  494. "pkid": 8,
  495. "actionId": "C100109000",
  496. "actionTaskid": 110,
  497. "actionName": "老鼠识别"
  498. },
  499. {
  500. "pkid": 9,
  501. "actionId": "M100105000",
  502. "actionTaskid": 108,
  503. "actionName": "睡岗识别"
  504. },
  505. {
  506. "pkid": 10,
  507. "actionId": "M100102000",
  508. "actionTaskid": 103,
  509. "actionName": "玩手机识别"
  510. },
  511. {
  512. "pkid": 11,
  513. "actionId": "002976",
  514. "actionTaskid": 113,
  515. "actionName": "摔倒识别"
  516. },
  517. {
  518. "pkid": 12,
  519. "actionId": "004160",
  520. "actionTaskid": 118,
  521. "actionName": "离岗识别"
  522. },
  523. {
  524. "pkid": 21,
  525. "actionId": "OD210_021_001879_001-IZRTKyEx",
  526. "actionTaskid": 47,
  527. "actionName": "未戴口罩识别"
  528. },
  529. {
  530. "pkid": 22,
  531. "actionId": "OD210_021_002162_002-IZRTKyEx",
  532. "actionTaskid": 49,
  533. "actionName": "违禁品检测"
  534. },
  535. {
  536. "pkid": 23,
  537. "actionId": "OD210_021_001871_051-IZRTKyEx",
  538. "actionTaskid": 54,
  539. "actionName": "摔倒识别"
  540. },
  541. {
  542. "pkid": 24,
  543. "actionId": "VC004_021_002601_026-IZRTKyEx",
  544. "actionTaskid": 16,
  545. "actionName": "人脸识别"
  546. },
  547. {
  548. "pkid": 25,
  549. "actionId": "OD210_021_001866_001",
  550. "actionTaskid": 53,
  551. "actionName": "玩手机识别"
  552. },
  553. {
  554. "pkid": 26,
  555. "actionId": "OD210_101_004533_002-IZRTKyEx",
  556. "actionTaskid": 46,
  557. "actionName": "港口异物识别"
  558. },
  559. {
  560. "pkid": 27,
  561. "actionId": "OD210_210_002111_001-IZRTKyEx",
  562. "actionTaskid": 38,
  563. "actionName": "人员识别"
  564. },
  565. {
  566. "pkid": 28,
  567. "actionId": "OD210_101_004362_006-IZRTKyEx",
  568. "actionTaskid": 56,
  569. "actionName": "盯屏"
  570. }
  571. ]
  572. }