Skip to content

优化手势识别稳定性,增强性能监控,新增可视化模块 - #4508

Merged
donghaiwang merged 44 commits into
OpenHUTB:mainfrom
xiaoshiyuan888:new
Dec 22, 2025
Merged

donghaiwang merged 44 commits into
OpenHUTB:mainfrom
xiaoshiyuan888:new

Conversation

@xiaoshiyuan888

Copy link
Copy Markdown
Contributor

修改概述:
本次提交优化了手势识别的稳定性和性能监控系统。主要改进包括:1) 使用加权平均算法改进手势平滑处理,增强识别稳定性;2) 新增性能可视化模块支持图表和仪表盘显示;3) 增强性能分析器,增加GPU监控、FPS波动分析和手势转换统计;4) 新增手势稳定性分析模块;5) 优化代码结构,提高可维护性。

修改的详细描述

  1. gesture_recognizer.py: 改进smooth_gesture_enhanced方法,使用基于置信度、时间衰减和位置稳定性的加权平均算法,提高手势识别稳定性。
  2. performance_analyzer.py: 增强性能监控功能,增加GPU监控支持、FPS波动分析、手势识别延迟分布统计和性能预测。
  3. 新增gesture_stabilizer.py: 专门的手势稳定性分析模块,提供一致性、置信度、时间和位置稳定性综合评估。
  4. 新增performance_visualizer.py: 性能可视化模块,支持绘制折线图表和仪表盘显示。
  5. main.py: 集成新模块,增加性能可视化切换功能(F键切换图表/仪表盘显示),更新用户界面和操作说明。
  6. config_manager.py: 增加性能可视化和手势稳定性分析相关配置项。

经过了什么样的测试?

  1. 操作系统: Windows 10
  2. Python版本等: Python 3.12

运行效果

动图、视频、截图等

1.mp4
2.mp4

@donghaiwang
donghaiwang merged commit 435476e into OpenHUTB:main Dec 22, 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