Skip to content

新增视频保存/实时统计/检测区域限定等增强功能#4783

Merged
donghaiwang merged 1 commit intoOpenHUTB:mainfrom
heeyusike:main
Dec 29, 2025
Merged

新增视频保存/实时统计/检测区域限定等增强功能#4783
donghaiwang merged 1 commit intoOpenHUTB:mainfrom
heeyusike:main

Conversation

@heeyusike
Copy link
Copy Markdown
Contributor

Enhance the accident video recognition tool with new features including video saving, real-time statistics, detection area limits, and hotkey extensions. Improved command-line argument parsing for dynamic configuration.

修改概述: 新增视频保存/实时统计/检测区域限定等增强功能为驾驶事故视频识别工具新增4项实用增强功能,同时兼容原有逻辑。

修改的详细描述

  • 视频保存:支持通过--save-path参数指定路径,自动创建保存目录
    • 实时统计:通过--enable-stats启用,检测结束输出事故/人员/小车数量
    • 检测区域限定:通过--roi参数指定画面区域(相对坐标),减少无效检测
    • 热键扩展:新增“S=保存当前帧、P=暂停/继续”操作

经过了什么样的测试?

  1. 操作系统Windows 11
  2. Python版本等Python 3.8 / 3.10 / 3.11

运行效果

动图、视频、截图等
ae211fd18373fdebfe435058211c7bd6
d0688c259095489769b65b21dd6cd59a

Enhance the accident video recognition tool with new features including video saving, real-time statistics, detection area limits, and hotkey extensions. Improved command-line argument parsing for dynamic configuration.
@donghaiwang donghaiwang merged commit 18e6105 into OpenHUTB:main Dec 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants