Skip to content

lufeili/kungfu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

双人武术格斗

简体中文 | English

双人武术格斗游戏,只需一个摄像头,简单而富有乐趣,来试试吧! 基于 MMPose人体姿态估计技术

demo

演示视频:https://www.bilibili.com/video/BV12t4y147Tw?p=1

游戏操作说明

准备:两位选手分别站在摄像头视野的左右两侧,使两位选手完整身体分别出现在左右两个窗口内
开始游戏:两位选手都要举手超过头顶
结束游戏:按‘Esc’键
冲拳:抬手过肩
踢腿:抬起左脚
飞踢:抬起右脚

配置环境

安装 Pygame

pip install pygame

安装 MMCV 和 MMDetection

pip install openmim
mim install mmcv-full
pip install mmdet

安装 MMPose

cd ..
git clone https://github.com/open-mmlab/mmpose.git
cd mmpose
pip install -e .

安装本游戏

cd ..
git clone https://github.com/lufeili/kungfu.git

运行游戏

cd kungfu
python run.py 

相关链接

About

2 Player Kung Fu Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages