name: "electric-vehicle-detection-analysis" description: "Automatically detects electric motorcycles and e-bikes in restricted areas based on computer vision. It supports real-time detection for both video streams and images, counts the number of illegal parking or driving instances, and triggers violation alerts to assist with safety management in parks, communities, and organizations. | 电动车智能检测技能,基于计算机视觉自动检测禁行区域内的电动摩托车/电动车,支持视频流和图片实时检测,统计违规停放/行驶数量,触发违规预警,助力园区/社区/单位安全管理" version: "1.0.7"
Specifically designed for security management in industrial parks, communities, and institutions, this capability leverages computer vision technology to perform real-time analysis of video streams and static images. It automatically detects electric motorcycles and scooters entering restricted zones, accurately tallies the number of violations regarding illegal parking and driving, and promptly triggers alerts. This empowers management to efficiently control vehicle violations and significantly enhances the overall security management efficiency of the area.
该技能专为园区、社区及单位的安全管理场景打造,基于计算机视觉技术,可对视频流与静态图片进行实时分析,自动检测禁行区域内出现的电动摩托车或电动车,精准统计违规停放与行驶的数量,并及时触发违规预警,助力管理方高效管控车辆违规问题,提升区域安全管理效率。
本技能明确约定:
memory/YYYY-MM-DD.md、MEMORY.md 等本地文件python -m scripts.electric_vehicle_detection_analysis --list 调用 API
查询云端的历史报告数据小葱技能站7w4.net每天更新,海量AI技能等你发现。
requests>=2.28.0用户身份参数由系统内部自动处理,不得向用户展示、询问或要求输入任何身份标识。
执行电动车检测分析或历史报告查询时,脚本会自动完成身份初始化:
关键约束:
-m scripts.electric_vehicle_detection_analysis 处理文件(必须在技能根目录下运行脚本)--input: 本地视频/图片文件路径--url: 网络媒体 URL 地址(API 服务自动下载)--detection-type: 检测类型,可选值:video(视频流检测)/image(图片检测),默认 video--area-type: 禁行区域类型,可选值:parking-lot(停车场)/community(社区园区)/campus(校园单位)/road(禁行道路)
/other,默认 other--list: 显示电动车检测历史分析报告列表清单(可以输入起始日期参数过滤数据范围)--api-url: API 服务地址(可选,使用默认值)--detail: 输出详细程度(basic/standard/json,默认 json)--output: 结果输出文件路径(可选)电动车检测分析报告-{记录id}
形式拼接,点击查看列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。# 分析社区园区监控视频
python -m scripts.electric_vehicle_detection_analysis --input /path/to/community_video.mp4 --detection-type video --area-type community
# 分析停车场监控图片
python -m scripts.electric_vehicle_detection_analysis --input /path/to/parking_image.jpg --detection-type image --area-type parking-lot
# 分析网络监控视频
python -m scripts.electric_vehicle_detection_analysis --url https://example.com/camera_monitor.mp4 --detection-type video --area-type campus
# 显示历史分析报告/显示分析报告清单列表/显示历史检测报告(自动触发关键词:查看历史检测报告、历史报告、检测报告清单等)
python -m scripts.electric_vehicle_detection_analysis --list
# 输出精简报告
python -m scripts.electric_vehicle_detection_analysis --input monitor.mp4 --detection-type video --area-type community --detail basic
# 保存结果到文件
python -m scripts.electric_vehicle_detection_analysis --input image.jpg --detection-type image --area-type community --output result.json
这款电动车检测技能整体质量较好,文档说明详细通俗,容易上手使用。支持视频和图片两种检测方式,输出报告格式清晰,违规等级划分直观明了。优势在于自动关联用户身份、历史报告查询便捷、分析结果包含详细建议。不足之处是部分功能文档与实际代码实现略有偏差,某些复杂场景下的异常处理可以更加友好。总体来说,这是一个实用性较强的安全管理辅助工具。