This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10235501447
/
WaveControl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
begin game control
game_control
Backpack
2 months ago
parent
7a989694cf
commit
e7155bd810
3 changed files
with
23 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
README.md
+7
-0
requirements.txt
+7
-0
test_gui.py
+ 9
- 0
README.md
View File
@ -0,0 +1,9 @@
# Mediapipe手势控制游戏
此分支为手势控制游戏的扩展
## 项目功能
- 使用摄像头采集用户的手势图像
- 识别用户的手势类别和方向
- 根据手势生成游戏手柄指令
- 控制游戏的转向、加速等动作(计划使用赛车游戏)
+ 7
- 0
requirements.txt
View File
@ -0,0 +1,7 @@
mediapipe==0.10.7
opencv_contrib_python==4.8.0.76
opencv_python==4.4.0.46
opencv_python_headless==4.8.0.76
pykalman==0.9.5
PySide2==5.15.2.1
vgamepad==0.0.8
+ 7
- 0
test_gui.py
View File
@ -0,0 +1,7 @@
from
PySide2.QtWidgets
import
QApplication
,
QLabel
app
=
QApplication
(
[
]
)
label
=
QLabel
(
"
PySide2 窗口测试 - GUI 正常
"
)
label
.
resize
(
400
,
100
)
label
.
show
(
)
app
.
exec_
(
)
Write
Preview
Loading…
Cancel
Save