123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575 |
- /* 算法信息 */
- {
- "code": "0",
- "message": "成功",
- "data": [
- {
- "aiName": "疲劳检测",
- "muAiName": "疲劳检测",
- "sceneName": null,
- "muAiTypeId": 6,
- "taskTypeId": 6,
- "taskTypeCode": "TaskType89j46ace4bx",
- "needMark": false,
- "supportSequential": false,
- "isGaoTie": false,
- "frequency": [
- "5s",
- "10s",
- "15s",
- "30s",
- "60s",
- "5min",
- "15min",
- "60min"
- ],
- "calTypeName": "自建应用",
- "abilityType": 5,
- "baseConfig": true,
- "osConfig": false,
- "ability": "OD210_021_004790_001-l2MahE4v",
- "appStatus": 0,
- "status": 0,
- "orderType": 0,
- "errorMsg": "安装成功",
- "isUsed": null
- },
- {
- "aiName": "摔倒识别",
- "muAiName": "摔倒识别",
- "sceneName": null,
- "muAiTypeId": 5,
- "taskTypeId": 5,
- "taskTypeCode": "TaskType9gusadr93ou",
- "needMark": false,
- "supportSequential": false,
- "isGaoTie": false,
- "frequency": [
- "5s",
- "10s",
- "15s",
- "30s",
- "60s",
- "5min",
- "15min",
- "60min"
- ],
- "calTypeName": "自建应用",
- "abilityType": 5,
- "baseConfig": true,
- "osConfig": false,
- "ability": "OD210_021_001871_051-l2MahE4v",
- "appStatus": 0,
- "status": 0,
- "orderType": 0,
- "errorMsg": "安装成功",
- "isUsed": null
- },
- {
- "aiName": "睡岗识别",
- "muAiName": "睡岗识别",
- "sceneName": null,
- "muAiTypeId": 4,
- "taskTypeId": 4,
- "taskTypeCode": "TaskTypeahabqwzwl1x",
- "needMark": false,
- "supportSequential": false,
- "isGaoTie": false,
- "frequency": [
- "5s",
- "10s",
- "15s",
- "30s",
- "60s",
- "5min",
- "15min",
- "60min"
- ],
- "calTypeName": "自建应用",
- "abilityType": 5,
- "baseConfig": true,
- "osConfig": false,
- "ability": "OD210_021_001870_017-l2MahE4v",
- "appStatus": 0,
- "status": 0,
- "orderType": 0,
- "errorMsg": "安装成功",
- "isUsed": null
- },
- {
- "aiName": "玩手机识别",
- "muAiName": "玩手机识别",
- "sceneName": null,
- "muAiTypeId": 3,
- "taskTypeId": 3,
- "taskTypeCode": "TaskTypec2e94flbyyq",
- "needMark": false,
- "supportSequential": false,
- "isGaoTie": false,
- "frequency": [
- "5s",
- "10s",
- "15s",
- "30s",
- "60s",
- "5min",
- "15min",
- "60min"
- ],
- "calTypeName": "自建应用",
- "abilityType": 5,
- "baseConfig": true,
- "osConfig": false,
- "ability": "OD210_021_001866_001-l2MahE4v",
- "appStatus": 0,
- "status": 0,
- "orderType": 0,
- "errorMsg": "安装成功",
- "isUsed": null
- },
- {
- "aiName": "违禁品检测",
- "muAiName": "违禁品检测",
- "sceneName": null,
- "muAiTypeId": 2,
- "taskTypeId": 2,
- "taskTypeCode": "TaskType49rugxtp855",
- "needMark": false,
- "supportSequential": false,
- "isGaoTie": false,
- "frequency": [
- "5s",
- "10s",
- "15s",
- "30s",
- "60s",
- "5min",
- "15min",
- "60min"
- ],
- "calTypeName": "自建应用",
- "abilityType": 5,
- "baseConfig": true,
- "osConfig": false,
- "ability": "OD210_021_002162_002-l2MahE4v",
- "appStatus": 0,
- "status": 0,
- "orderType": 0,
- "errorMsg": "安装成功",
- "isUsed": null
- },
- {
- "aiName": "盯屏",
- "muAiName": "盯屏",
- "sceneName": null,
- "muAiTypeId": 1,
- "taskTypeId": 1,
- "taskTypeCode": "TaskType5h3ifgna34s",
- "needMark": false,
- "supportSequential": false,
- "isGaoTie": false,
- "frequency": [
- "5s",
- "10s",
- "15s",
- "30s",
- "60s",
- "5min",
- "15min",
- "60min"
- ],
- "calTypeName": "自建应用",
- "abilityType": 5,
- "baseConfig": true,
- "osConfig": false,
- "ability": "OD210_101_004362_006-l2MahE4v",
- "appStatus": 0,
- "status": 0,
- "orderType": 0,
- "errorMsg": "安装成功",
- "isUsed": null
- }
- ],
- "success": true
- }
- /* 获取到的设备信息 */
- {
- "code": "0",
- "message": "成功",
- "data": [
- {
- "deviceId": 2,
- "deviceName": "111222333",
- "deviceSerial": "VID9cwyv6fiv0x",
- "port": null,
- "userAccount": null,
- "userPWD": null,
- "deviceType": "本地视频",
- "taskTypeList": [
- {
- "taskTypeId": 1,
- "ability": "OD210_101_004362_006",
- "taskTypeName": "盯屏"
- }
- ]
- },
- {
- "deviceId": 6,
- "deviceName": "广电研发",
- "deviceSerial": "rtsp://admin:HZlh123456@172.16.3.229/Streaming/Channels/1601",
- "port": null,
- "userAccount": null,
- "userPWD": null,
- "deviceType": "视频流地址",
- "taskTypeList": [
- {
- "taskTypeId": 3,
- "ability": "OD210_021_001866_001",
- "taskTypeName": "玩手机识别"
- }
- ]
- }
- ],
- "success": true
- }
- /* Redis数据 */
- {
- "actionId": "M100111000",
- "actionName": "鑴卞矖绂诲矖璇嗗埆",
- "actionResult": true,
- "alarmId": 177157,
- "bBoxes": [],
- "beginTime": "2022-06-12T14:38:05",
- "channel": 48,
- "classifyId": 2,
- "classifyName": "榛樿鍒嗙粍",
- "deviceName": "test",
- "deviceSerial": "172.16.3.229",
- "endTime": "2022-06-12T14:39:05",
- "eventTime": "2022-06-12T14:38:35",
- "imageInfo": "",
- "isKeyPoint": 0,
- "picUrl": "1438351535874182926041088.jpg",
- "taskId": 1,
- "taskName": "1"
- }
- /* 117数据,应该和要读取的一样 */
- {
- "actionDes": "",
- "actionResult": true,
- "alarmId": 73113,
- "beginTime": "2024-09-01T16:52:38.426",
- "channel": 1,
- "classifyId": 64,
- "classifyName": "培训教室-海康",
- "deviceSerial": "172.16.9.31",
- "endTime": "2024-09-01T16:53:38.426",
- "eventTime": "2024-09-01T16:53:08.426",
- "imageInfo": "http://webdav-read.default:80/webdav//GUI/1/PUMPING/2024/09/01//66d42b74e4b02066478c1ace.jpg",
- "isKeyPoint": 0,
- "personList": [],
- "picUrl": "66d42b74e4b02066478c1ace.jpg",
- "taskId": 452,
- "taskName": "夜晚001",
- "bBoxes": [
- {
- "bbox": [
- 1692,
- 369,
- 1791,
- 604
- ],
- "colorFlag": 1,
- "conf": [
- "0.03"
- ],
- "label": [
- "未成年人"
- ],
- "match_id": "",
- "status": false
- },
- {
- "bbox": [
- 1755,
- 1402,
- 1975,
- 1539
- ],
- "colorFlag": 1,
- "conf": [
- "0.02"
- ],
- "label": [
- "未成年人"
- ],
- "match_id": "",
- "status": false
- },
- {
- "bbox": [
- 1572,
- 1036,
- 1996,
- 1576
- ],
- "colorFlag": 1,
- "conf": [
- "0.02"
- ],
- "label": [
- "未成年人"
- ],
- "match_id": "",
- "status": false
- },
- {
- "bbox": [
- 2257,
- 927,
- 2335,
- 1058
- ],
- "colorFlag": 1,
- "conf": [
- "0.02"
- ],
- "label": [
- "未成年人"
- ],
- "match_id": "",
- "status": false
- },
- {
- "bbox": [
- 2052,
- 445,
- 2157,
- 650
- ],
- "colorFlag": 1,
- "conf": [
- "0.01"
- ],
- "label": [
- "未成年人"
- ],
- "match_id": "",
- "status": false
- },
- {
- "bbox": [
- 2038,
- 716,
- 2099,
- 873
- ],
- "colorFlag": 1,
- "conf": [
- "0.01"
- ],
- "label": [
- "未成年人"
- ],
- "match_id": "",
- "status": false
- },
- {
- "bbox": [
- 2250,
- 682,
- 2360,
- 1055
- ],
- "colorFlag": 1,
- "conf": [
- "0.01"
- ],
- "label": [
- "未成年人"
- ],
- "match_id": "",
- "status": false
- },
- {
- "bbox": [
- 1521,
- 871,
- 1766,
- 1450
- ],
- "colorFlag": 1,
- "conf": [
- "0.01"
- ],
- "label": [
- "未成年人"
- ],
- "match_id": "",
- "status": false
- },
- {
- "bbox": [
- 2104,
- 716,
- 2213,
- 907
- ],
- "colorFlag": 1,
- "conf": [
- "0.01"
- ],
- "label": [
- "未成年人"
- ],
- "match_id": "",
- "status": false
- },
- {
- "bbox": [
- 2063,
- 441,
- 2150,
- 532
- ],
- "colorFlag": 1,
- "conf": [
- "0.01"
- ],
- "label": [
- "未成年人"
- ],
- "match_id": "",
- "status": false
- }
- ]
- }
- /* 图片识别 */
- {
- "code": 0,
- "result": [
- {
- "pkid": 1,
- "actionId": "M100121000",
- "actionTaskid": 112,
- "actionName": "疲劳检测"
- },
- {
- "pkid": 2,
- "actionId": "M100101000",
- "actionTaskid": 104,
- "actionName": "未戴口罩"
- },
- {
- "pkid": 3,
- "actionId": "M100107000",
- "actionTaskid": 105,
- "actionName": "吸烟识别"
- },
- {
- "pkid": 4,
- "actionId": "P100104000",
- "actionTaskid": 106,
- "actionName": "人员计数"
- },
- {
- "pkid": 5,
- "actionId": "C100107000",
- "actionTaskid": 107,
- "actionName": "违禁物品"
- },
- {
- "pkid": 6,
- "actionId": "E100111000",
- "actionTaskid": 109,
- "actionName": "动物识别"
- },
- {
- "pkid": 7,
- "actionId": "P100101000",
- "actionTaskid": 111,
- "actionName": "人脸识别"
- },
- {
- "pkid": 8,
- "actionId": "C100109000",
- "actionTaskid": 110,
- "actionName": "老鼠识别"
- },
- {
- "pkid": 9,
- "actionId": "M100105000",
- "actionTaskid": 108,
- "actionName": "睡岗识别"
- },
- {
- "pkid": 10,
- "actionId": "M100102000",
- "actionTaskid": 103,
- "actionName": "玩手机识别"
- },
- {
- "pkid": 11,
- "actionId": "002976",
- "actionTaskid": 113,
- "actionName": "摔倒识别"
- },
- {
- "pkid": 12,
- "actionId": "004160",
- "actionTaskid": 118,
- "actionName": "离岗识别"
- },
- {
- "pkid": 21,
- "actionId": "OD210_021_001879_001-IZRTKyEx",
- "actionTaskid": 47,
- "actionName": "未戴口罩识别"
- },
- {
- "pkid": 22,
- "actionId": "OD210_021_002162_002-IZRTKyEx",
- "actionTaskid": 49,
- "actionName": "违禁品检测"
- },
- {
- "pkid": 23,
- "actionId": "OD210_021_001871_051-IZRTKyEx",
- "actionTaskid": 54,
- "actionName": "摔倒识别"
- },
- {
- "pkid": 24,
- "actionId": "VC004_021_002601_026-IZRTKyEx",
- "actionTaskid": 16,
- "actionName": "人脸识别"
- },
- {
- "pkid": 25,
- "actionId": "OD210_021_001866_001",
- "actionTaskid": 53,
- "actionName": "玩手机识别"
- },
- {
- "pkid": 26,
- "actionId": "OD210_101_004533_002-IZRTKyEx",
- "actionTaskid": 46,
- "actionName": "港口异物识别"
- },
- {
- "pkid": 27,
- "actionId": "OD210_210_002111_001-IZRTKyEx",
- "actionTaskid": 38,
- "actionName": "人员识别"
- },
- {
- "pkid": 28,
- "actionId": "OD210_101_004362_006-IZRTKyEx",
- "actionTaskid": 56,
- "actionName": "盯屏"
- }
- ]
- }
|