Appearance
道路破损 #
功能简介 #
道路破损现象在城市治理中时常出现,影响城市美观程度及人民的日常生活,道路破损检测可以对摄像头采集画面中的道路进行自动检测,返回并标注破损区域,及时将检测结果推送给相关城市治理人员进行修补,及时的监控与管理提高了城市的智能化管理水平并解决了人民日常生活的困难。
应用场景 #
- 社区道路
- 城市道路
能力优势 #
- 实时检测
- 准确率高
- 可应用于多种场景
- 可对接多种客户端
功能展示 #
接口说明 #
道路破损检测接口的检测图片三种传入方式为url/file/baseLs,优先级顺序为file>baseLs>url. 三个参数至少传入一个。
请求格式
URL /statical/api/v1/obj-detect/road-damaged Method POST 请求头说明
Key Value Content-Type multipart/form-data 请求参数
Key Require Type Description url N string URL链接 file N file 二进制文件 baseLs N string BASE64编码 confidence Y float 置信度 points Y string 检测框字符串 请求示例
"confidence": 0.3,
"baseLs": "iVBORw0KGgoAAA...",
"points": "[[{\"x\":26,\"y\":87},...]]"
返回参数
Key Require Type Description status Y int 响应状态码 message Y string 提示消息 data Y arr 检测结果 +x Y int X坐标 +y Y int Y坐标 +width Y int 宽度 +heigh Y int 高度 +rs Y string 目标类型 +confidence Y float 置信度 出参示例
{
"status": 200,
"message": "检测成功",
"data": [
{
"x": 10,
"y": 20,
"width": 100,
"height": 35,
"rs": "roadDamaged",
"confidence": 0.98
}
]
}