nmud
MCP Server
nmud
public

quickhand

Real-time gesture recognition game

Repository Info

1
Stars
0
Forks
1
Watchers
0
Issues
JavaScript
Language
-
License

About This Server

Real-time gesture recognition game

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

# Quickhand

Quickhand is a real-time gesture recognition game that uses Mediapipe to detect your hand gestures. The app leverages Mediapipe Hands to extract 21 landmarks from your webcam feed and then runs an algorithm to determine which gesture you’re making. In the game, a random target gesture is displayed and when you match it, you score points.

Use npm install & npm run dev to run it locally.

## How It Works

1. **Hand Detection:**  
   MediaPipe Hands detects 21 landmarks on your hand in real time from your webcam feed.

2. **Gesture Calculation:**  
   A function calculates whether each finger is extended based on the relative vertical positions of the finger joints (MCP, PIP, and tip). Depending on which fingers are extended, the app determines gestures such as:
   - **Phone call:** Only the thumb and pinky are extended.
   - **OK:** Middle, ring, and pinky extended.
   - **Peace sign:** Index and middle extended.
   - **Thumbs up:** Only the thumb extended.
   - **Pointing:** Only the index extended.
   - **Fist:** No fingers extended.
   - **Spiderman:** Index extended and pinky extended.

## Gesture Calculation Code Snippet

Below is the core snippet that processes the hand landmarks to calculate which gesture is being made:

```javascript
const detectGesture = (landmarks) => {
  if (!landmarks || landmarks.length < 21) return 'Unknown';

  const isFingerExtended = (mcp, pip, tip) => (pip.y - tip.y) > 0.1;

  const indexExtended = isFingerExtended(landmarks[5], landmarks[6], landmarks[8]);
  const middleExtended = isFingerExtended(landmarks[9], landmarks[10], landmarks[12]);
  const ringExtended = isFingerExtended(landmarks[13], landmarks[14], landmarks[16]);
  const pinkyExtended = isFingerExtended(landmarks[17], landmarks[18], landmarks[20]);
  const thumbExtended = isFingerExtended(landmarks[1], landmarks[2], landmarks[4]);
```

![Quickhand Screenshot](public/hand_landmarks.png)

Quick Start

1

Clone the repository

git clone https://github.com/nmud/quickhand
2

Install dependencies

cd quickhand
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownernmud
Repoquickhand
Language
JavaScript
License-
Last fetched8/8/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation