Skip to content

judhi/madel_score

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MADEL SCORE by JPS

MADEL SCORE is a hands-free, gesture-controlled scoring application designed for padel and tennis. Using MediaPipe’s computer vision, it allows players to manage match scoring, track sets, and control the interface from across the court without ever touching their device.

🚀 New Features (260315)

  • Audio Feedback (Umpire Beeps): High-pitch audio confirmation for every recognized gesture, allowing players to keep their eyes on the game.
  • 🤟 ILY Zoom Toggle: Use the "I Love You" gesture (Thumb, Index, and Pinky extended) to toggle 2x zoom.
    • Stability Fix: Requires a 1-second steady hold to prevent accidental triggers.
  • Precision Finger Tracking: Improved logic to distinguish between 4-finger (Report) and 5-finger (Fullscreen) gestures by measuring specific thumb extension.
  • Dynamic Lockout System: A 2-second visual and functional lockout (Red Header) follows every scoring action to prevent accidental double-counts.
  • Hand Centering Guidance: If the hand is too close to the edge of the frame during Zoom mode, the app displays a "CENTER HAND" warning to ensure tracking stability.

🖐 Gesture Guide

Gesture Action Notes
☝️ (1 Finger) Point for YOU Increases Player 1 score.
✌️ (2 Fingers) Point for OPPONENT Increases Player 2 score.
🤟 (ILY Sign) Toggle ZOOM (2x) Must hold for 1 second. Great for distant setups.
✋ (5 Fingers) Full Screen Primes the device for fullscreen expansion (Tap to confirm).
🖖 (4 Fingers) Report Status Voice announcement of current game and set scores.
🤟 (3 Fingers) Undo Reverts the last scoring action.
✊ (Fist) Change Mode Cycle through Deuce/Golden Point/16/21/24/32 (Only at 0-0).
✋✋ (Double Palm) Hard Reset Clears all scores and sets the match to zero.

🛠 Technical Stack

  • MediaPipe Hands: Real-time 21-point hand landmark tracking.
  • Web Speech API: Natural voice announcements for scores and status updates.
  • Web Audio API: Oscillator-based beep feedback for low-latency confirmation.
  • Local Storage: Persistence for match settings and scoring modes.

📱 Optimized for Mobile

This application is designed specifically for high-performance mobile browsers on devices like the Samsung Galaxy S23 Ultra and iPhone series. It utilizes wide-angle camera support and mirrored-video processing for natural "Umpire" interaction while standing on the court.

⚖️ Scoring Modes

  • Deuce: Standard tennis scoring with Advantage.
  • Golden Point: Professional padel scoring (No AD).
  • Point Caps: Fixed targets for 16, 21, 24, or 32 points.

About

Keeping track of Padel Score using selfie wireless button, TV remote control, keyboard, touch screen.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages