Skip to content

Toodmuk/squativa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Squativa

Rhythm-based squat game using computer vision • Built at Intania Hackathon

TL;DR: Guitar Hero but squat. Camera tracks your form. Compete with friends. Get fit.

Video Demo

20250330_145531.mp4

The Product Demo on stage

Gameplay

What It Does

  • ✅ Real-time squat detection via MediaPipe pose estimation
  • ✅ Rhythm-based scoring system synced to music
  • ✅ 2-player competitive mode
  • ✅ Form validation and feedback
  • ✅ Multiple songs + difficulty levels

Tech Stack

Python 3.10  |  Pygame  |  OpenCV  |  MediaPipe

Quick Start

# Clone
git clone https://github.com/Toodmuk/squativa.git
cd squativa

# Install
pip install pygame opencv-python mediapipe

# Run
python main.py

That's it. No cap.

How It Works

┌─────────────┐      ┌──────────────┐      ┌─────────────┐
│  Webcam     │─────▶│  MediaPipe   │─────▶│  Game Logic │
│  Feed       │      │  Pose Est.   │      │  & Scoring  │
└─────────────┘      └──────────────┘      └─────────────┘
File Purpose
main.py Entry point
game.py Core game loop + logic
screens.py UI screens (menu, game, results)
opcv/squat_late.py CV squat detection
utils.py Asset loading + rendering

Built with 🔥 at Intania Hackathon

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages