Appearance
非法摆摊 #
功能简介 #
非法摆摊在城市的各个商圈及社区周边经常出现,经常是多个商贩的聚集性行为,导致大量人流的聚集与喧闹,在摆摊过后会生产大量的垃圾影响城市环境。非法摆摊检测可以针对摄像头采集区域内的图像进行自动检测是否存在非法摆摊行为,及时将告警消息推送给城市管理人员进行治理,最大程度的减少人力物力的投入,提升城市治理的效率。
应用场景 #
- 城市道路
- 社区道路
能力优势 #
- 实时检测
- 准确率高
- 可对接多种客户端
功能展示 #
接口说明 #
非法摆摊检测图片有三种传入方式,分别是url/file/baseLs,优先级顺序为file>baseLs>url. 三个参数至少传入一个
请求格式
URL /statical/api/v1/obj-detect/illegal-stalls Method POST 请求头说明
Key Value Content-Type multipart/form-data 请求参数
Key Require Type Description url N string URL链接 file N file 二进制文件 baseLs N string BASE64编码 points Y string 检测框字符串 请求示例
"baseLs": "iVBORw0KGgoAAA...",
"points": "[[{\"x\":26,\"y\":87},...]]"
返回参数
Key Require Type Description status Y int 响应状态码 message Y string 提示消息 data Y obj 检测结果 +rs Y string 检测类型 +confidence Y float 置信度 +x Y int X坐标 +y Y int Y坐标 +width Y int 宽度 +heigh Y int 高度 返回示例
{
"status": 200,
"message": "检测成功",
"data": [
{
"x": 10,
"y": 20,
"width": 100,
"height": 35,
"rs": "IllegalStalls",
"confidence": 0.98
}
]
}