π±π¨ AR Bubble Pop Game (Python)
AR Bubble Pop is an interactive game where players pop floating bubbles using just their fingers, tracked in real time through a webcam (PC) or device camera. Built with Python, MediaPipe, OpenCV, and Pygame, it merges computer vision with simple game mechanics for a fun augmented reality experience.
πΉ How It Works
Hand Tracking: MediaPipe detects your hands and tracks the index fingertip.
AR Interaction: The fingertip position is mapped onto the game screen.
Bubble Mechanics: Bubbles spawn, float upward, and can be popped by touching them with your fingertip.
Real-Time Camera Feed: The webcam background blends with the game, creating an AR effect.
πΉ Features
Real-time finger tracking using a standard camera.
Bubbles spawn randomly in size, position, and speed for varied gameplay.
Collision detection: fingertip inside a bubbleβs radius makes it pop.
Optional pop sound effect for feedback.
Lightweight and runs on most laptops/PCs with Python.
πΉ Tech Stack
Python
OpenCV β live camera input & image processing
MediaPipe Hands β fingertip landmark tracking
Pygame β game engine (bubbles, collisions, rendering, sound)
NumPy β array/image handling
πΉ Use Cases
Fun computer vision demo.
Educational project to learn augmented reality, gesture tracking, and game dev with Python.
Foundation for expanding into more AR/AI-based games.