All Projects → uvipen → Airgesture

uvipen / Airgesture

Licence: mit
Play games without touching keyboard

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Airgesture

Training-Snake-Game-With-Genetic-Algorithm
training snake game using neural network and genetic algorithm
Stars: ✭ 28 (-92.24%)
Mutual labels:  pygame
Gym Gazebo2
gym-gazebo2 is a toolkit for developing and comparing reinforcement learning algorithms using ROS 2 and Gazebo
Stars: ✭ 257 (-28.81%)
Mutual labels:  gym
Face Tracking With Anime Characters
Hello! I have made a Python project where YURI from the game doki doki literature club accesses the webcam and stares directly into the players soul. Hope you enjoy!
Stars: ✭ 320 (-11.36%)
Mutual labels:  pygame
Pygame3D
Set of modules that use Pygame to display 3D graphics
Stars: ✭ 55 (-84.76%)
Mutual labels:  pygame
SARNet
Code repository for SARNet: Learning Multi-Agent Communication through Structured Attentive Reasoning (NeurIPS 2020)
Stars: ✭ 14 (-96.12%)
Mutual labels:  gym
Games
Create interesting games by pure python.
Stars: ✭ 3,431 (+850.42%)
Mutual labels:  pygame
pygame-text-input
a small module that enables you to input text with your keyboard using pygame
Stars: ✭ 114 (-68.42%)
Mutual labels:  pygame
Rl algorithms
Structural implementation of RL key algorithms
Stars: ✭ 352 (-2.49%)
Mutual labels:  gym
snake-pygame
🐍 A snake game written in Python using the Pygame library
Stars: ✭ 42 (-88.37%)
Mutual labels:  pygame
Pygame
pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.
Stars: ✭ 4,164 (+1053.46%)
Mutual labels:  pygame
MagicTower-Python
Python魔塔样板,自带Demo游戏内容(Powered by Pygame)
Stars: ✭ 32 (-91.14%)
Mutual labels:  pygame
Cloth-Simulation-With-python---Verlet-Integration
No description or website provided.
Stars: ✭ 17 (-95.29%)
Mutual labels:  pygame
Laravel Gymie
👨‍💻 Gym & Club Management System https://gymie.in
Stars: ✭ 285 (-21.05%)
Mutual labels:  gym
AirHockey
Air Hockey game created using pygame
Stars: ✭ 25 (-93.07%)
Mutual labels:  pygame
Deep Learning Wizard
Open source guides/codes for mastering deep learning to deploying deep learning in production in PyTorch, Python, C++ and more.
Stars: ✭ 343 (-4.99%)
Mutual labels:  gym
Pygin
Simple game engine produced for making easier to build more complex games using Python.
Stars: ✭ 21 (-94.18%)
Mutual labels:  pygame
Drq
DrQ: Data regularized Q
Stars: ✭ 268 (-25.76%)
Mutual labels:  gym
Genrl
A PyTorch reinforcement learning library for generalizable and reproducible algorithm implementations with an aim to improve accessibility in RL
Stars: ✭ 356 (-1.39%)
Mutual labels:  gym
Cleanrl
High-quality single file implementation of Deep Reinforcement Learning algorithms with research-friendly features
Stars: ✭ 349 (-3.32%)
Mutual labels:  gym
Pgzero
A zero-boilerplate games programming framework for Python 3, based on Pygame.
Stars: ✭ 311 (-13.85%)
Mutual labels:  pygame

[PYTHON] AirGesture - Play games without touching keyboard

Introduction

Here is my python source code for AirGesture - Play games without touching keyboard. This project is an application of hand detection model in Tensorflow. With my code, you could play many games on PC without using any keyboard. At the moment you could play the following games

  • Super Mario Bros by running the script mario.py
  • Battle City by running the script battle_city.py
  • Dinosaur Game by running the script dinosaur.py

Please make sure that only one hand shown in front of camera. Otherwise scripts may not work as well as you expect

Super Mario Bros

The screen is splitted into 3 equal parts horizontally. Here is the mapping between your gesture and Mario's movement:

  • Open hand within the left part -> Left jump
  • Closed hand within the left part -> Left run
  • Open hand within the middle part -> Jump
  • Closed hand within the middle part -> Do nothing
  • Open hand within the right part -> Right jump
  • Closed hand within the right part -> Right run


Super Mario Bros

Battle City

The screen is splitted into 5 parts, including 4 triangles and a circle. Here is the mapping between your gesture and tank's movement:

  • Open hand -> Fire
  • Closed hand within the circle -> Do nothing
  • Closed hand within the left triangle -> Go left
  • Closed hand within the right triangle -> Go right
  • Closed hand within the up triangle -> Go up
  • Closed hand within the left triangle -> Go down


Battle City

Dinosaur Game

The screen is splitted into 2 equal parts vertically. Here is the mapping between your gesture and dinosaur's action:

  • Closed hand -> Run
  • Open hand within the upper part -> Jump
  • Open hand within the lower part -> Duck


Dinosaur

Requirements

  • python 3.x
  • cv2
  • tensorflow
  • numpy
  • gym
  • gym_super_mario_bros
  • gym_chrome_dino
  • pygame
  • opencv
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].