handtracking
БесплатноБез исполняемых скриптовНе проверенReal-time hand detection in egocentric videos using victordibia/handtracking. Outputs bounding boxes for hands, specifically trained on EgoHands dataset…
от lilinji★ 18 звёзд на GitHubОб этом скилле
HandTracking - Real-time Hand Detection
Overview
Real-time hand detection system designed specifically for egocentric (first-person) video views. Trained on the EgoHands dataset, this lightweight model detects hand bounding boxes in video streams and can output labeled videos with hand annotations. Ideal for quick prototyping of hand-based interaction systems in AR/VR and wearable computing applications.
Companion JavaScript library: Handtrack.js is available for browser-based applications (https://github.com/victordibia/handtrack.js).
When to Use This Skill
This skill should be used when:
- Analyzing egocentric video footage from wearable cameras or smart glasses
- Detecting hand presence and location in first-person perspective videos
- Building hand gesture interfaces or interaction systems
- Annotating training data for hand detection models
- Processing egocentric videos for human-computer interaction research
- Creating labeled video outputs with hand bounding box overlays
- Implementing real-time hand detection in web applications (using Handtrack.js)
- Quick prototyping of hand-based AR/VR interfaces
Choose this when: You need fast, lightweight hand detection with bounding box outputs and don't require detailed joint-level pose estimation.
Consider alternatives: If you need 3D hand pose keypoints, hand-object segmentation, or multi-view tracking, see other skills in this category.
Core Capabilities
1. Hand Detection in Egocentric Views
EgoHands-trained model: Specifically optimized for first-person perspective videos where hands are viewed from the wearer's viewpoint.
- Input: Video files (MP4, AVI) or webcam streams
- Output: Bounding boxes (x, y, width, height) with confidence scores
- Model: Lightweight TensorFlow model trained on EgoHands dataset
- Performance: Real-time processing on standard hardware
- Detection types: Left hand, right hand classification
- Visualization: Red/green bounding boxes overlaid on video
Bounding box format:
{
'bbox': [x, y, width, height], # Pixel coordinates
'score': confidence, # 0.0 to 1.0
'label': 'hand' # Detection label
}
2. Video Processing and Annotation
Input video processing: Process entire video files and export annotated results.
Workflow:
# Clone repository
git clone https://github.com/victordibia/handtracking.git
cd handtracking
# Install dependencies (TensorFlow 1.x compatible)
pip install tensorflow==1.15.0 opencv-python numpy
# Run hand detection on video
python run.py \
--input_video your_egocentric.mp4 \
--output_video output_labeled.mp4 \
--threshold 0.5 # Confidence threshold
Output video features:
- Hands outlined with colored bounding boxes (red/green)
- Real-time frame rate display
- Confidence scores shown on boxes
- Smooth tracking across frames -保存带标注的视频文件
3. Real-time Webcam Detection
Live camera processing: Process webcam streams in real-time for interactive applications.
import handtracking
# Initialize detector
detector = handtracking.HandDetector()
# Process webcam stream
detector.detect_from_webcam(
display=True,
save_video=False,
confidence_threshold=0.6
)
Applications:
- Live hand gesture interfaces
- Interactive installations
- Real-time hand presence detection
- Gesture-controlled systems
4. Browser-based Detection (Handtrack.js)
JavaScript companion library: Use the same model technology in web applications.
Integration:
<script src="https://cdn.jsdelivr.net/npm/handtrackjs/dist/handtrack.min.js"></script>
<script>
const model = await handTrack.load();
const video = document.getElementById('video');
// Detect hands in video stream
const predictions = await model.detect(video);
predictions.forEach(prediction => {
console.log(prediction.bbox); // [x, y, width, height]
console.log(prediction.score); // Confidence score
});
</script>
Browser capabilities:
- Run entirely in browser (no server required)
- Real-time webcam processing
- Canvas-based visualization
- WebGL acceleration support
- Works with video files and live streams
Installation and Setup
Option 1: Python Installation
# Clone repository
git clone https://github.com/victordibia/handtracking.git
cd handtracking
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install tensorflow==1.15.0
pip install opencv-python numpy pillow
# Download pre-trained model
# Model will be automatically downloaded on first run
Model files: Automatically downloaded from the repository on first use (~20MB).
Option 2: JavaScript Installation (Handtrack.js)
# For web applications
npm install handtrackjs
# Or use directly from CDN
Usage Examples
Example 1: Process Video with Output
imp
Установить handtracking в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл handtracking?
Real-time hand detection in egocentric videos using victordibia/handtracking. Outputs bounding boxes for hands, specifically trained on EgoHands dataset. Supports video input/output with labeled hand boxes. Lightweight and fast for egocentric view applications.
Как установить скилл handtracking?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл handtracking запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub