Abstract
Data annotation is a fundamental yet labor-intensive bottleneck in AI development, traditionally relying on post-hoc manual labeling that is prone to human error and high cognitive load. We present HandyLabel, a real-time annotation system that leverages skeleton-based hand gesture recognition via standard webcams. By utilizing Google's MediaPipe for skeleton extraction and a ResNet50 model for classification, HandyLabel enables users to annotate video data instantaneously. Our evaluation demonstrates high accuracy (F1-score 0.923), low latency (<100ms), and a significant user preference (88.9%) over traditional GUI-based tools.
Introduction
The efficacy of modern machine learning models is intrinsically linked to the availability of high-quality annotated datasets. However, current video annotation workflows typically involve recording events and subsequently using tools like Label Studio or CVAT to manually apply labels frame-by-frame. This post-processing approach is not only time-consuming but also susceptible to recall bias, particularly when labeling subjective states like emotion or cognitive load. HandyLabel addresses these challenges by shifting the annotation process from post-hoc clicking to real-time physical interaction.
Methodology
HandyLabel is a web-based client-server application designed to work with standard laptop webcams, eliminating the need for specialized hardware like depth sensors.
Technical Pipeline
The system employs a multi-stage preprocessing pipeline:
- Skeleton Extraction: Using Google’s MediaPipe, the system extracts a 21-point 2D hand skeleton from the raw video feed in real-time.
- Classification: The extracted skeletal data is fed into a ResNet50 model. The researchers found that training on skeletonized images rather than raw RGB frames significantly improved robustness against varying backgrounds and lighting conditions.
- Mapping: Users can map up to five distinct gestures—Fist, Ok, Stop, Two-Up, and Peace—to specific semantic labels (e.g., "Happy," "Confused").
Privacy and Performance
By performing skeleton extraction locally on the client side, the system only transmits lightweight coordinate data to the backend. This "Privacy by Design" approach ensures that raw video feeds are never stored or transmitted, while also reducing bandwidth requirements.
Results and Discussion
The system was evaluated using the HaGRID dataset, containing over 500,000 hand images. The ResNet50 model achieved an F1-score of 0.923, with an end-to-end latency of less than 100ms, ensuring a seamless user experience.
In a comparative user study with 46 participants:
- Preference: 88.9% of users preferred HandyLabel over the industry-standard Label Studio.
- Usability: HandyLabel received a setup difficulty score of 2.07/5, significantly lower (easier) than Label Studio's 4.22/5.
- Cognitive Load: Participants reported that physical gestures were more intuitive than mouse-based navigation, allowing for extended annotation sessions without significant fatigue.
Conclusion
HandyLabel represents a significant step toward making data annotation more efficient and user-friendly. By moving to a real-time, gesture-based paradigm, researchers can capture more accurate temporal data while reducing the manual labor associated with post-processing. Future work will explore expanding the gesture vocabulary and improving performance in highly cluttered environments.
Summary updated