Skip to content

新增支持YAML文件灵活管理检测参数 - #4148

Merged
donghaiwang merged 14 commits into
OpenHUTB:mainfrom
is-leplus:main
Dec 21, 2025
Merged

donghaiwang merged 14 commits into
OpenHUTB:mainfrom
is-leplus:main

Conversation

@is-leplus

Copy link
Copy Markdown
Contributor

修改概述:

修改的详细描述

  1. 配置参数从硬编码迁移至外部 YAML 文件,无需修改代码即可灵活调整模型路径、阈值等关键参数。
  2. 保留默认值与完整校验机制,确保向后兼容,同时提升多环境部署能力与用户操作安全性。

经过了什么样的测试?

  1. 操作系统
    win11
  2. Python版本等
    python3.13.3

运行效果

动图、视频、截图等

image

@is-leplus is-leplus changed the title 配置外部化:支持 YAML 文件灵活管理检测参数 新增支持YAML文件灵活管理检测参数 Dec 20, 2025
@donghaiwang
donghaiwang merged commit 6095775 into OpenHUTB:main Dec 21, 2025
1 check passed
sda-57 pushed a commit to sda-57/nn that referenced this pull request Dec 21, 2025
* Update ui_handler.py

* Update main.py

* Update detection_engine.py

* Update config.py

* Update camera_detector.py

* Update ui_handler.py

* Create batch_detector.py

* Update batch_detector.py

* Create config.yaml

* Update config.py
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