Skip to content

About

Play and control Flappy Bird using your hand movements. This Python-based project uses OpenCV and MediaPipe for real-time hand tracking and gesture control.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Flappy Bird with Real-Time Hand Tracking

Play Flappy Bird using your hand or arm as a controller! This project uses Python, OpenCV, MediaPipe, and Pygame to let you control the bird with real-time hand or arm movements via your webcam.

Features

  • Hands-free gameplay using webcam
  • Real-time hand/arm tracking
  • Classic Flappy Bird mechanics
  • High score tracking

How It Works

  1. Start the game.
  2. Raise or move your hand/arm to make the bird flap.
  3. Avoid the pipes and try to beat your high score!

Requirements

  • Python 3.7+
  • OpenCV
  • MediaPipe
  • Pygame

Install dependencies with:

pip install -r requirements.txt

Usage

python main.py

Make sure your webcam is connected and accessible.

Project Structure

  • main.py - Main game logic
  • sprites/ - Game assets (images, sounds)
  • high_score.txt - High score storage
  • requirements.txt - Python dependencies

Credits

  • Inspired by the original Flappy Bird
  • Hand tracking powered by MediaPipe

License

MIT License

About

Play and control Flappy Bird using your hand movements. This Python-based project uses OpenCV and MediaPipe for real-time hand tracking and gesture control.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages