Skip to content

A Python game that uses real-time finger tracking with MediaPipe to control a car on screen. Powered by OpenCV and Pygame, it combines computer vision and gaming for a fun, touchless experience.

Notifications You must be signed in to change notification settings

MevinManuel/PyCar_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš— Hand Controlled Car Game

Control your car without touching a keyboard! This game uses real-time hand tracking to detect your finger movement and steer the car accordingly.

Game Preview


๐ŸŽฎ Features

  • ๐Ÿ–๏ธ Real-time finger movement detection using webcam
  • ๐Ÿšง Dynamic obstacles that get harder over time
  • ๐Ÿ›ก๏ธ Collectible shields and power-ups
  • ๐Ÿ Score system with increasing difficulty
  • โšก Smooth, responsive visuals powered by Pygame

๐Ÿ“ฆ Tech Stack

  • Python
  • OpenCV โ€“ for webcam input and image processing
  • MediaPipe โ€“ for hand and finger tracking
  • Pygame โ€“ for graphics and game mechanics

๐Ÿš€ Getting Started

Prerequisites

  • Python 3.7 or higher

Installation

git clone https://github.com/yourusername/finger-car-game.git
cd finger-car-game
pip install -r requirements.txt

Run the Game python main.py

Make sure your webcam is enabled and properly positioned!

๐Ÿ–ผ๏ธ Controls Move your index finger left or right to steer the car.

Avoid obstacles and collect power-ups to boost your score.

๐Ÿง  Inspiration Built to explore the intersection of computer vision and interactive games, this project shows how AI tools like MediaPipe can create fun, touchless experiences.

๐Ÿค Contributing Got ideas or improvements? Feel free to open issues or submit a pull request!

๐Ÿ“œ License This project is licensed under the MIT License โ€“ see the LICENSE file for details.

Made with ๐Ÿ’œ by Mevin Manuel

About

A Python game that uses real-time finger tracking with MediaPipe to control a car on screen. Powered by OpenCV and Pygame, it combines computer vision and gaming for a fun, touchless experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages