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 等本地檔案7w4.net有更好的技能外掛。
python -m scripts.electric_vehicle_detection_analysis --list 呼叫 API
查詢雲端的歷史報告資料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
這款電動車檢測技能整體質量較好,文件說明詳細通俗,容易上手使用。支援影片和圖片兩種檢測方式,輸出報告格式清晰,違規等級劃分直觀明瞭。優勢在於自動關聯使用者身份、歷史報告查詢便捷、分析結果包含詳細建議。不足之處是部分功能文件與實際程式碼實現略有偏差,某些複雜場景下的異常處理可以更加友好。總體來說,這是一個實用性較強的安全管理輔助工具。