Skip to content

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎯 Computer Vision & Game Projects in Python

This repository showcases a collection of mini-projects using Python, OpenCV, MediaPipe, and Pygame. These are built to explore the intersection of computer vision and interactive game design.


🔍 Projects Overview

🟡 1. Color Detection

File: Color-Detection/color-detection.py

Detects and highlights specific colors from the webcam feed using OpenCV.

Features:

  • Real-time video capture
  • HSV color space filtering
  • Mask creation and visualization

✋ 2. Hand Detection

File: Hand-Detection/hand-detection.py

Uses MediaPipe for real-time hand tracking with OpenCV.

Features:

  • Tracks hand landmarks (like fingertips)
  • Visual annotation on live camera feed
  • Could be extended for gesture control

🐍 3. Snake Game

File: Snake-Game/snake-game.py

A classic Snake game built with Pygame.

Features:

  • Score tracking
  • Dynamic food generation
  • Game over logic

🛹 4. Subway Surfers Game

File: Subway-Surfers-Game/subway-surfers.py

A basic prototype inspired by Subway Surfers.

Features:

  • Character movement
  • Obstacle dodging mechanics
  • Endless runner logic

🧠 5. Concentration Tracker

File: Concentration-Tracker/concen_tracker.py

Estimates user concentration in real-time using facial landmarks with MediaPipe Face Mesh and OpenCV.

Features:

  • Eye blink detection using Eye Aspect Ratio (EAR)
  • Gaze and head pose estimation
  • Smooth concentration scoring (0–100%)
  • Distraction tracking with alerts
  • Clean visual overlays and FPS display

🛠️ Installation & Running

# Clone the repository
git clone https://github.com/jayesh3103/Computer-Vision-Mini-Projects.git
cd Computer-vision-mini-projects

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages