Back to Projects

GestureAI

A human-computer interaction system that uses computer vision and machine learning to play rock-paper-scissors by detecting hand gestures in real time through a webcam.

Python OpenCV MediaPipe Scikit-learn SQLite Streamlit

🧠 The idea

GestureAI was built as a project for a Big Data and Artificial Intelligence course: turning a webcam into a game controller by detecting hand gestures in real time to play rock-paper-scissors against the machine.


🚀 What it does


👥 Team project

Built together with three teammates, each responsible for a different layer of the system. My role was ML Engineer: training, validating, and optimizing the gesture classification model, based on hand landmarks extracted with MediaPipe.


🏗️ Architecture

The system runs as a sequential pipeline:

  1. Capture — real-time video via OpenCV
  2. Processing — extraction of 21 hand landmarks with MediaPipe
  3. Inference — gesture classification via the trained model
  4. Logic — resolving the round against the AI’s move
  5. Output — results display and persistence in SQLite

📊 What made it interesting

The hard part wasn’t the game itself, it was:


🎯 Current status

Delivered as part of the AI and Big Data specialization course. Fully functional end-to-end: capture, classification, gameplay, and metrics dashboard.