Appearance
贵州加油站车辆识别 #
查询车辆识别记录 #
- 请求路径
/intelligent/vehicle/getVehicleDetectInfo
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
gasstationName | 否 | string | 加油站名称 |
gasstationId | 否 | string | 加油站id |
cameraId | 否 | string | 摄像头id |
provinceCode | 否 | string | 省编码 |
cityCode | 否 | string | 市编码 |
regionCode | 否 | string | 区县编码 |
licenseplateInfo | 否 | string | 车牌信息 |
startTime | 否 | string | 起始时间 |
endTime | 否 | string | 结束时间 |
pageNo | 是 | int | 页码 |
pageSize | 是 | int | 每页条数 |
algorithmType | 否 | string | 使用的算法类型:0-自研,1-考拉 |
- 请求示例
{
"gasstationName": "",
"gasstationId": "",
"cameraId": "",
"provinceCode": "",
"cityCode": "",
"regionCode": "",
"licenseplateInfo": "",
"startTime": "2022-07-04 13:29:55",
"endTime": "2022-07-04 13:35:59",
"pageNo": 1,
"pageSize": 16,
"algorithmType": ""
}
返回结果
部分参数为冗余字段,这些参数未对其进行说明 #
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 +total 否 int 总数 +totalPage 否 int 总页数 +items 否 array 查询结果集 ++id 否 int id ++licenseplateInfo 否 String 车牌信息 ++licensePlateNum 否 int 车牌数 ++vehicleNum 否 int 车辆数 ++enterTime 否 String 入场时间 ++leaveTime 否 String 离场时间 ++refuelTime 否 String 加油时间 ++recognitionTime 否 String 识别时间 ++vehiclePictureUrl 否 String 识别结果图片web地址 ++frameTime 否 String 抽帧图片上的时间 ++frameLocation 否 String 抽帧图片上的地址 ++originPictureUrl 否 String 原始图片web地址 ++algorithmType 否 String 算法类型 ++timeConsumption 否 long 算法耗时 ++gasstationId 否 String 加油站id ++gasstationName 否 String 加油站名称 ++provinceCode 否 String 省编码 ++cityCode 否 String 市州编码 ++regionCode 否 String 区县编码 ++regionName 否 String 区县名称 ++cameraId 否 String 摄像头id ++cameraName 否 String 摄像头名称 ++creditCode 否 String 社会信用代码 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": {
"total": 1,
"totalPage": null,
"items": [
{
"id": 335113,
"licenseplateInfo": "贵JUG809:蓝牌",
"licensePlateNum": 1,
"vehicleNum": 1,
"gasstationId": "3c238f505f7650dacdf772d857802cf1",
"gasstationName": "全民加油站",
"enterTime": null,
"leaveTime": null,
"refuelTime": null,
"recognitionTime": "2022-07-04 13:34:15",
"vehiclePictureUrl": "http://10.31.9.120:10102/disk1/data/aiopen/VehicleCheck/20220704/8232185541038006272.jpg",
"frameTime": "2022年07月04日星期14:44:41",
"frameLocation": "",
"originPictureUrl": "http://10.31.9.120:10102/disk1/data/aiopen/VehicleCheck/origin/20220704/8232185541063172096.jpg",
"algorithmType": null,
"timeConsumption": null,
"provinceCode": "520000",
"cityCode": "522700",
"regionCode": "522701",
"regionName": "黔南布依族苗族自治州",
"creditCode": ""
}
]
}
}
删除车辆识别记录 #
- 请求路径
/intelligent/vehicle/deleteVehicleDetectInfo
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
ids | 是 | array | id列表 |
- 请求示例
{
"ids": [277,278]
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": "SUCCESS"
}
车流量统计 #
- 请求路径
/intelligent/vehicle/getVehicleFlow
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
startTime | 否 | string | 起始时间 |
endTime | 否 | string | 结束时间 |
provinceCode | 否 | string | 省编码 |
cityCode | 否 | string | 市州编码 |
regionCode | 否 | string | 区县编码 |
gasstationId | 否 | string | 加油站id |
- 请求示例
{
"startTime": "2022-07-11 14:32:55",
"endTime": "2022-07-28 14:32:55",
"provinceCode": "522000",
"cityCode": "522700",
"regionCode": "522701",
"gasstationId": "0695ec1c1a757e1cbceb52f0f1f35671"
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": 0
}
车流量统计-查询所有下级行政区划的统计数据 #
查询某区域下级各行政区划的车流量数据
- 请求路径
/intelligent/vehicle/getVehicleFlowGroupByCode
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
gasstationId | 否 | string | 加油站名称 |
provinceCode | 否 | string | 省编码 |
cityCode | 否 | string | 市州编码 |
regionCode | 否 | string | 区县编码 |
gasstationId | 否 | string | 加油站id |
- 请求示例
{
"provinceCode": "520000",
"cityCode": "522700",
"regionCode": "522701",
"gasstationId": "",
"gasstationName": ""
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 array 接口处理结果 +provinceCode 否 String 省编码 +cityCode 否 String 市州编码 +regionCode 否 String 区县编码 +total 否 int 车流量 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": [
{
"provinceCode": null,
"cityCode": null,
"regionCode": null,
"total": 1556
}
]
}
六个月订单总量查询 #
统计前六个月的订单总量,用于车辆识别记录统计图表
- 请求路径
/intelligent/vehicle/getVehicleFlowChart
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
字段 | 必选 | 类型 | 说明 |
---|---|---|---|
flag | 是 | boolean | 请求处理成功失败标识 |
resultCode | 是 | int | 请求处理成功失败标识,0成功,1失败 |
message | 是 | String | 请求处理信息 |
data | 是 | Object | 接口处理结果 |
- 请求示例
{
"startTime": "2022-07-11 14:32:55",
"endTime": "2022-07-28 14:32:55",
"provinceCode": "522000",
"cityCode": "522700",
"regionCode": "522701",
"gasstationId": "0695ec1c1a757e1cbceb52f0f1f35671"
}
返回结果
字段 必选 类型 说明 location 是 array 人脸位置信息 +width 是 string 人头位置框的宽度 +x 是 string 人头位置框基准点的x坐标 +y 是 string 人头位置框基准点的y坐标 ++ height 是 string 人头位置框的高度 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": 0
}
车辆识别 #
- 请求路径
/intelligent/vehicle/vehicleDetect
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
time | 否 | string | 图片信息 |
cameraID | 是 | string | 摄像头id |
cameraName | 是 | string | 摄像头名称 |
gas_stationID | 是 | string | 加油站id |
regionCode | 是 | string | 区县编码 |
regionName | 是 | string | 区县名称 |
gas_stationName | 是 | string | 加油站名称 |
image | 是 | string | 车辆图片BASE64码 |
- 请求示例
{
"time": "20220531 07:11:53",
"cameraID": "e36a36ca4d5ed3ec6ce8fd704eb0adb5_03",
"cameraName": "金华农机加油站-3号机",
"gas_stationID": "e36a36ca4d5ed3ec6ce8fd704eb0adb5",
"regionCode": "520000_520100_520115",
"regionName": "贵阳市",
"gas_stationName": "贵阳金阳金华农机加油站",
"image":"027d8308a2ec665acb1bdf63e513bcb9"
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 array 接口处理结果 +id 否 int id +licenseplateInfo 否 String 车牌信息 +licensePlateNum 否 int 车牌数量 +vehicleNum 否 int 车辆数 +cid 否 String 摄像头id +gid 否 String 加油站id +enterTime 否 String 入场时间 +leaveTime 否 String 离场时间 +refuelTime 否 String 加油时间 +recognitionTime 否 String 识别时间 +vehiclePictureUrl 否 String 车辆识别图像web地址 +frameTime 否 String 抽帧图片上的时间 +frameLocation 否 String 抽帧图片上的地址 +originPictureUrl 否 String 原始图片web地址 +algorithmType 否 String 算法类型 +timeConsumption 否 long 算法耗时 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": [
{
"id": "1",
"licenseplateInfo": "贵CW12L1",
"licensePlateNum": 1,
"vehicleNum": 1,
"cid": "cf6e8f9126ad2acdbff8efa82956b254_04",
"gid": "cf6e8f9126ad2acdbff8efa82956b254",
"enterTime": "2022-09-01 15:10:34",
"leaveTime": "2022-09-01 15:10:342022-09-01 15:10:34",
"refuelTime": "2022-09-01 15:10:34",
"recognitionTime": "2022-09-01 15:10:34",
"vehiclePictureUrl": "http://10.31.9.120:10102//disk1/data/aiopen/VehicleCheck/20220901/都匀经济开发区闽盛元加油有限公司/都匀经济开发区闽盛元加油有限公司-4号机/20220901151034_cf6e8f9126ad2acdbff8efa82956b254.jpg",
"frameTime": "",
"frameLocation": "",
"originPictureUrl": "http://10.31.9.120:10102//disk1/data/aiopen/VehicleCheck/origin/20220901/都匀经济开发区闽盛元加油有限公司/都匀经济开发区闽盛元加油有限公司-4号机/20220901151034_cf6e8f9126ad2acdbff8efa82956b254.jpg",
"algorithmType": "1",
"timeConsumption": 168
}
]
}
车辆识别-上传文件形式 #
- 用于工控机信息补录
/intelligent/vehicle/vehicleDetectFormAdapter
- Header:
参数 | 值 |
---|---|
Content-Type | multipart/form-data |
token | 令牌 |
- 请求示例
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
time | 否 | string | 图片信息 |
cameraID | 是 | string | 摄像头id |
cameraName | 是 | string | 摄像头名称 |
gas_stationID | 是 | string | 加油站id |
regionCode | 是 | string | 区县编码 |
regionName | 是 | string | 区县名称 |
gas_stationName | 是 | string | 加油站名称 |
image | 是 | MultipartFile | 车辆图片 |
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 array 接口处理结果 +id 否 int id +licenseplateInfo 否 String 车牌信息 +licensePlateNum 否 int 车牌数量 +vehicleNum 否 int 车辆数 +cid 否 String 摄像头id +gid 否 String 加油站id +enterTime 否 String 入场时间 +leaveTime 否 String 离场时间 +refuelTime 否 String 加油时间 +recognitionTime 否 String 识别时间 +vehiclePictureUrl 否 String 车辆识别图像web地址 +frameTime 否 String 抽帧图片上的时间 +frameLocation 否 String 抽帧图片上的地址 +originPictureUrl 否 String 原始图片web地址 +algorithmType 否 String 算法类型 +timeConsumption 否 long 算法耗时 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": [
{
"id": "1",
"licenseplateInfo": "贵CW12L1",
"licensePlateNum": 1,
"vehicleNum": 1,
"cid": "cf6e8f9126ad2acdbff8efa82956b254_04",
"gid": "cf6e8f9126ad2acdbff8efa82956b254",
"enterTime": "2022-09-01 15:10:34",
"leaveTime": "2022-09-01 15:10:342022-09-01 15:10:34",
"refuelTime": "2022-09-01 15:10:34",
"recognitionTime": "2022-09-01 15:10:34",
"vehiclePictureUrl": "http://10.31.9.120:10102//disk1/data/aiopen/VehicleCheck/20220901/都匀经济开发区闽盛元加油有限公司/都匀经济开发区闽盛元加油有限公司-4号机/20220901151034_cf6e8f9126ad2acdbff8efa82956b254.jpg",
"frameTime": "",
"frameLocation": "",
"originPictureUrl": "http://10.31.9.120:10102//disk1/data/aiopen/VehicleCheck/origin/20220901/都匀经济开发区闽盛元加油有限公司/都匀经济开发区闽盛元加油有限公司-4号机/20220901151034_cf6e8f9126ad2acdbff8efa82956b254.jpg",
"algorithmType": "1",
"timeConsumption": 168
}
]
}
刷新摄像头缓存 #
- 请求路径
/intelligent/vehicle/refreshCache
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": "刷新缓存成功"
}
查询加油站信息 #
- 请求路径
/intelligent/vehicle/selectGasstationDeploy
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
gasstationName | 否 | string | 加油站名称 |
deployer | 否 | string | 部署人 |
pageNo | string | 页码 | |
pageSize | string | 每页条数 |
- 请求示例
{
"gasstationName": "贵阳白云海龙储运加油站",
"deployer": "huangyj_a",
"pageNo": 1,
"pageSize": 16
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 +total 否 int 总数 +totalPage 否 int 总页数 +items 是 array 结果集 ++gasstationId 否 String 加油站id ++gasstationName 否 String 加油站名称 ++provinceCode 否 String 省编码 ++cityCode 否 String 市州编码 ++regionName 否 String 区县名称 ++creditCode 否 String 社会信用代码 ++regionCode 否 String 区县编码 ++updateTime 否 String 更新时间 ++deployer 否 String 部署人 ++deployTime 否 String 部署时间 ++equipCount 否 int 设备数量 ++deployMsg 否 String 部署信息 ++deployStatus 否 int 部署状态 ++pcIp 否 String 工控机ip ++pcUsername 否 String 工控机用户名 ++pcPassword 否 String 工控机密码 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": {
"total": 1,
"totalPage": null,
"items": [
{
"gasstationId": "4106339eb2f724e5433b4ea93737de50",
"gasstationName": "贵阳白云海龙储运加油站",
"provinceCode": "520000",
"cityCode": "520100",
"regionName": "贵阳市",
"creditCode": "91520113214626527D",
"regionCode": "520103",
"updateTime": "2022-08-17 16:47:30",
"deployer": "huangyj_a",
"deployTime": "2022-08-17 16:47:30",
"equipCount": 6,
"deployMsg": "已验收",
"deployStatus": 2,
"pcIp": "172.19.50.126",
"pcUsername": "xcy",
"pcPassword": "Sitech@2022"
}
]
}
}
查询加油站信息-无分页 #
- 请求路径
/intelligent/vehicle/selectGasstations
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 +total 否 int 总数 +totalPage 否 int 总页数 +items 是 array 结果集 ++gasstationId 否 String 加油站id ++gasstationName 否 String 加油站名称 ++provinceCode 否 String 省编码 ++cityCode 否 String 市州编码 ++regionName 否 String 区县名称 ++creditCode 否 String 社会信用代码 ++regionCode 否 String 区县编码 ++updateTime 否 String 更新时间 ++deployer 否 String 部署人 ++deployTime 否 String 部署时间 ++equipCount 否 int 设备数量 ++deployMsg 否 String 部署信息 ++deployStatus 否 int 部署状态 ++pcIp 否 String 工控机ip ++pcUsername 否 String 工控机用户名 ++pcPassword 否 String 工控机密码 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": {
"total": 1,
"totalPage": null,
"items": [
{
"gasstationId": "4106339eb2f724e5433b4ea93737de50",
"gasstationName": "贵阳白云海龙储运加油站",
"provinceCode": "520000",
"cityCode": "520100",
"cityName": null,
"regionName": "贵阳市",
"creditCode": "91520113214626527D",
"regionCode": "520103",
"updateTime": "2022-08-17 16:47:30",
"deployer": "huangyj_a",
"deployTime": "2022-08-17 16:47:30",
"equipCount": 6,
"deployMsg": "已验收",
"deployStatus": 2,
"pcIp": "172.19.50.126",
"pcUsername": "xcy",
"pcPassword": "Sitech@2022"
}
]
}
}
查询加油站验收信息 #
- 请求路径
/intelligent/vehicle/selectGasstationChecks
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
gasstationName | 否 | string | 图片信息 |
deployer | 否 | string | 部署人 |
pageNo | 是 | int | 页码 |
pageSize | 是 | int | 每页条数 |
- 请求示例
{
"gasstationName": "贵阳白云海龙储运加油站",
"deployer": "huangyj_a",
"pageNo": 1,
"pageSize": 16
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 +total 否 int 总数 +totalPage 否 int 总页数 +items 是 array 结果集 ++gasstationId 否 String 加油站id ++gasstationName 否 String 加油站名称 ++provinceCode 否 String 省编码 ++cityCode 否 String 市州编码 ++regionName 否 String 区县名称 ++creditCode 否 String 社会信用代码 ++regionCode 否 String 区县编码 ++updateTime 否 String 更新时间 ++deployer 否 String 部署人 ++deployTime 否 String 部署时间 ++equipCount 否 int 设备数量 ++deployMsg 否 String 部署信息 ++deployStatus 否 int 部署状态 ++pcIp 否 String 工控机ip ++pcUsername 否 String 工控机用户名 ++pcPassword 否 String 工控机密码 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": {
"total": 1,
"totalPage": null,
"items": [
{
"gasstationId": "4106339eb2f724e5433b4ea93737de50",
"gasstationName": "贵阳白云海龙储运加油站",
"provinceCode": "520000",
"cityCode": "520100",
"cityName": null,
"regionName": "贵阳市",
"creditCode": "91520113214626527D",
"regionCode": "520103",
"updateTime": "2022-08-17 16:47:30",
"deployer": "huangyj_a",
"deployTime": "2022-08-17 16:47:30",
"equipCount": 6,
"deployMsg": "已验收",
"deployStatus": 2,
"pcIp": "172.19.50.126",
"pcUsername": "xcy",
"pcPassword": "Sitech@2022"
}
]
}
}
加油站接入统计 #
- 请求路径
/intelligent/vehicle/selectGasstationChecksAccess
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
provinceCode | 否 | String | 省编码 |
cityCode | 否 | String | 市州编码 |
regionCode | 否 | String | 区县编码 |
- 请求示例
{
"provinceCode": "520000",
"cityCode": "522600",
"regionCode": "522601"
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": 2
}
加油站信息录入 #
- 请求路径
/intelligent/vehicle/gasstationDeploy
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
gasstationId | 是 | String | 加油站id |
gasstationName | 是 | String | 加油站名称 |
equipCount | 是 | int | 设备数量 |
pcIp | 是 | String | 工控机名称 |
pcUsername | 是 | String | 工控机用户名 |
pcPassword | 是 | String | 工控机密码 |
provinceCode | 是 | String | 省编码 |
cityCode | 是 | String | 市州编码 |
regionCode | 是 | String | 区县编码 |
deployer | 是 | String | 部署人 |
cameraVos | 是 | array | 摄像头列表 |
++cameraId | 是 | String | 摄像头id |
++cameraName | 是 | String | 摄像头名称 |
++rtspAddress | 是 | String | rtsp地址 |
- 请求示例
{
"gasstationId": "cf6e8f9126ad2acdbff8efa82956b254",
"gasstationName": "闽盛元加油站",
"equipCount": "7",
"pcIp": "172.18.194.59",
"pcUsername": "intelligent",
"pcPassword": "Ai#123",
"provinceCode": "520000",
"cityCode": "522700",
"regionCode": "522701",
"deployer": "haopc",
"cameraVos": [
{
"cameraId": "31pxh8jq4z2JYZ06_HIK001",
"cameraName": "闽盛元加油站-1号机",
"rtspAddress": "0.0.0.0"
},
{
"cameraId": "31pxh8jq4z2JYZ06_HIK002",
"cameraName": "闽盛元加油站-2号机",
"rtspAddress": "22222"
},
{
"cameraId": "31pxh8jq4z2JYZ06_HIK003",
"cameraName": "闽盛元加油站-3号机",
"rtspAddress": "0.0.0.0"
},
{
"cameraId": "31pxh8jq4z2JYZ06_HIK004",
"cameraName": "闽盛元加油站-4号机",
"rtspAddress": "0.0.0.0"
},
{
"cameraId": "31pxh8jq4z2JYZ06_HIK005",
"cameraName": "闽盛元加油站-5号机",
"rtspAddress": "0.0.0.0"
},
{
"cameraId": "31pxh8jq4z2JYZ06_HIK006",
"cameraName": "闽盛元加油站-6号机",
"rtspAddress": "0.0.0.0"
},
{
"cameraId": "31pxh8jq4z2JYZ06_HIK007",
"cameraName": "闽盛元加油站-卸油机",
"rtspAddress": "0.0.0.0"
}
]
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": "SUCCESS"
}
加油站验收 #
- 请求路径
/intelligent/vehicle/gasstationCheck
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
请求参数
参数 必选 类型 说明 gasstationId 是 String 加油站id gasstationName 是 String 加油站名称 equipCount 是 int 设备数量 pcIp 是 String 工控机名称 pcUsername 是 String 工控机用户名 pcPassword 是 String 工控机密码 provinceCode 是 String 省编码 cityCode 是 String 市州编码 regionCode 是 String 区县编码 deployer 是 String 部署人 cameraVos 是 array 摄像头列表 ++cameraId 是 String 摄像头id ++cameraName 是 String 摄像头名称 ++rtspAddress 是 String rtsp地址 请求示例
{
"cityCode": "522700",
"cityName": null,
"creditCode": "123456",
"deployMsg": "已验收",
"deployStatus": 2,
"deployStatusN": "验收通过",
"deployTime": "2022-07-29 10:45:51",
"deployer": "haopc",
"equipCount": "2",
"gasstationId": "cf6e8f9126ad2acdbff8efa82956b254",
"gasstationName": "闽盛元加油站",
"pcIp": "172.18.194.59",
"pcPassword": "Ai#123",
"pcUsername": "intelligent",
"provinceCode": "520000",
"regionCode": "522701",
"regionName": "毕节市",
"updateTime": "2022-07-29 10:45:51",
"cameraVos": [
{
"cameraId": "31pxh8jq4z2JYZ06_HIK006",
"cameraName": "闽胜元加油站-6号机",
"rtspAddress": "rtsp://admin:hk123456@192.168.31.238"
},
{
"cameraId": "31pxh8jq4z2JYZ06_HIK004",
"cameraName": "闽胜元加油站-4号机",
"rtspAddress": "rtsp://"
}
]
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": "SUCCESS"
}
信息补录 #
- 请求路径
/intelligent/vehicle/additionalRecord
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
gasstationId | 否 | String | 加油站id |
cameraId | 否 | String | 摄像头id |
startTime | 否 | String | 起始时间 |
endTime | 否 | String | 结束时间 |
- 请求示例
{
"gasstationId": "057a7d31f480d09f3d67e4fa1320e0d6",
"cameraId": "057a7d31f480d09f3d67e4fa1320e0d6_01",
"startTime": "2022-09-01 12:00:00",
"endTime": "2022-09-01 12:30:00"
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": "SUCCESS"
}
更新摄像头检测区域 #
- 请求路径
/intelligent/vehicle/updateCameraArea
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
id | 是 | String | id |
cameraArea | 是 | String | 框选区域 |
- 请求示例
{
"id": 2,
"cameraArea": "[[{\"x\":937,\"y\":1054},{\"x\":1101,\"y\":329},{\"x\":1128,\"y\":329},{\"x\":1294,\"y\":1064}]]"
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": "SUCCESS"
}
更新摄像头信息(此图无效) #
- 请求路径
/intelligent/vehicle/updateCameraImg
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
cameraId | 是 | String | 摄像头id |
- 请求示例
{
"cameraId": "31pxh8jq4z2JYZ01_HIK001"
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": "SUCCESS"
}
查询摄像头-分页 #
- 请求路径
/intelligent/vehicle/getCameras
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
cameraName | 否 | string | 摄像头名称 |
status | 否 | String | 摄像头状态 |
gasstationName | 否 | String | 加油站名称 |
pageNo | 是 | String | 页码 |
pageSize | 是 | String | 每页条数 |
- 请求示例
{
"cameraName": "",
"status": "",
"gasstationName": "贵州省安顺汽车运输公司加油站",
"pageNo": 1,
"pageSize": 3
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 +total 否 int 总数 +totalPage 否 int 总页数 +items 是 array 结果集 ++cameraId 否 String 摄像头id ++cameraName 否 String 摄像头名称 ++productKey 否 String 产品秘钥 ++deviceName 否 String 设备名称 ++provinceCode 否 String 省编码 ++cityCode 否 String 市州编码 ++regionName 否 String 区县名称 ++regionCode 否 String 区县编码 ++gasstationName 否 String 加油站名称 ++cameraArea 否 String 摄像头区域 ++samplePicturePath 否 String 样本图片物理地址 ++samplePictureUrl 否 String 样本图片web地址 ++rtspAddress 否 String rtsp地址 ++status 否 String 摄像头状态 ++remark 否 String 摄像头备注信息 ++gid 否 String 加油站id ++temp 否 String ++updateTime 否 String 更新时间 ++createTime 否 String 创建时间 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": {
"total": 6,
"totalPage": null,
"items": [
{
"cameraId": "6bb60c5e8ae598593c34d260c8c0acfb_03",
"cameraName": "贵州省安顺汽车运输公司加油站-3号机",
"productKey": null,
"deviceName": null,
"provinceCode": "520000",
"cityCode": null,
"regionName": "安顺市",
"regionCode": "520402",
"gasstationName": "贵州省安顺汽车运输公司加油站",
"cameraArea": "[[{\"x\":859,\"y\":1040},{\"x\":2556,\"y\":985},{\"x\":2565,\"y\":817},{\"x\":2092,\"y\":593},{\"x\":1495,\"y\":603},{\"x\":859,\"y\":1040}]]",
"samplePicturePath": "/disk1/data/aiopen/camerasnap/",
"samplePictureUrl": "http://10.31.9.120:10102//disk1/data/aiopen/camerasnap/6bb60c5e8ae598593c34d260c8c0acfb_03.jpg",
"rtspAddress": "rtsp://",
"status": "N",
"remark": null,
"gid": "6bb60c5e8ae598593c34d260c8c0acfb",
"gids": null,
"temp": false,
"updateTime": "2022-09-01 15:57:42",
"createTime": "2022-08-11 09:09:59"
}
]
}
}
查询识别记录统计记录 #
- 请求路径
/intelligent/vehicle/getVehicleRecognitionCount
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
- 请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
gasstationName | 否 | String | 加油站名称 |
deployer | 否 | String | 部署人 |
pageNo | 是 | int | 页码 |
pageSize | 是 | int | 每页条数 |
- 请求示例
{
"gas_stationName": "闽盛元加油站",
"deployer": "haopc",
"pageNo": 1,
"pageSize": 16
}
返回结果
字段 必选 类型 说明 gas_stationName 否 String 加油站名称 deployer 否 String 部署人 pageNo 是 int 页码 pageSize 是 int 每页条数 返回示例
{
"gas_stationName": "闽盛元加油站",
"deployer": "haopc",
"pageNo": 1,
"pageSize": 16
}
查询识别记录统计记录-总和 #
- 请求路径
/intelligent/vehicle/getVehicleRecognitionCountAll
- Header:
参数 | 值 |
---|---|
Content-Type | application/json |
token | 令牌 |
请求参数
参数 必选 类型 说明 gasstationName 否 String 加油站名称 recognitionDate 否 String 识别时间 pageNo 是 int 页码 pageSize 是 int 每页条数 请求示例
{
"gasstationName": "闽盛元加油站",
"recognitionDate": "2022-08-31",
"pageNo": 1,
"pageSize": 16
}
返回结果
字段 必选 类型 说明 flag 是 boolean 请求处理成功失败标识 resultCode 是 int 请求处理成功失败标识,0成功,1失败 message 是 String 请求处理信息 data 是 Object 接口处理结果 +total 否 int 总数 +totalPage 否 int 总页数 +items 是 array 结果集 ++id 否 int id ++gid 否 String 加油站id ++count 否 String 统计数量 ++recognitionDate 否 String 识别时间 ++gasstationId 否 String 加油站id ++provinceCode 否 String 省编码 ++cityCode 否 String 市州编码 ++regionName 否 String 区县编码 ++regionCode 否 String 区县名称 ++gasstationName 否 String 加油站名称 ++startDate 否 String 起始时间 ++endDate 否 String 结束时间 返回示例
{
"flag": true,
"resultCode": 0,
"message": "系统处理正常",
"data": {
"total": 1,
"totalPage": null,
"items": [
{
"id": 1174,
"gid": null,
"count": 446,
"recognitionDate": "2022-08-31",
"gasstationId": "cf6e8f9126ad2acdbff8efa82956b254",
"provinceCode": "520000",
"cityCode": "522700",
"regionName": "毕节市",
"regionCode": "522701",
"gasstationName": "闽盛元加油站",
"startDate": null,
"endDate": null
}
]
}
}