One Line Draw Game
Computer Vision Hand Gesture Game (Python + OpenCV + MediaPipe)

Project Overview
The "One Line Draw Game" is an interactive computer vision application developed in Python that leverages hand tracking to create an engaging puzzle experience. Players use a specific hand gesture (a "pinch") to draw lines on screen, aiming to trace predefined shapes across multiple stages.
This project showcases real-time hand detection and landmark tracking using MediaPipe, combined with OpenCV for visual processing and game mechanics. It's designed to be intuitive and fun, challenging users to precisely control their drawing path with their hand movements.
Key Features:
- ✋ Real-time Hand Tracking: Utilizes MediaPipe for robust and accurate detection of hand landmarks.
- 👆 Gesture-Based Drawing: Players initiate drawing by performing a "pinch" gesture with their thumb and index finger.
- 🎨 Interactive Canvas: Dynamic drawing feedback with player-drawn green lines and blue-highlighted covered segments.
- ⭐ Multi-Stage Progression: Includes various geometric shapes (e.g., star, square, triangle) as progressive challenges.
- ✅ Coverage Tracking: Visual feedback and percentage display indicate how much of the target shape has been successfully traced.
- 🎮 Intuitive Gameplay: Simple and direct control through natural hand movements.
Technologies Used:
Python, OpenCV, MediaPipe, NumPy, Computer Vision, Gesture Recognition
📺 Project Demo Video
A quick demonstration of the "One Line Draw Game" in action, showcasing hand tracking, drawing mechanics, and stage progression.