Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 981 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 981 Bytes

Pong AI: Computer Vision-Controlled Pong Game

License Python

A modern take on the classic Pong game where you control the paddle using your index finger through your webcam. This project demonstrates the integration of computer vision and gaming, utilizing MediaPipe for hand tracking and Pyglet for game rendering.

🎮 Features

  • Real-time hand tracking using MediaPipe
  • Webcam-based paddle control using index finger
  • Classic Pong gameplay mechanics
  • Smooth graphics rendering with Pyglet
  • Computer vision integration with OpenCV

🛠️ Technologies Used

  • Python 3.12
  • OpenCV (Computer Vision)
  • MediaPipe (Hand Tracking)
  • Pyglet (Game Engine)
  • NumPy (Numerical Operations)
  • Poetry (Dependency Management)

📋 Prerequisites

  • Python 3.12 or higher
  • Webcam
  • Poetry (Python package manager)
  • Sufficient lighting for hand tracking