How longhoang1208/handgesturedetector works
Hand Gesture Detector is a desktop webcam application for recognizing hand signs, with user-managed labels and models, data collection, model training, single-sign recognition, and multi-sign sentence assembly. The main workflow is to select a user and feature, then collect landmark sequences and train a model or load an existing model and labels for live prediction; recognized text can be spoken aloud. The README documents the broader product capabilities, while source excerpts show key calls. Some subsystem links rely on README descriptions because their complete implementations were not sampled.
Main entry points: a1_data_collect_module.py Data Collection · _detector.py Gesture Detector · b1_module1_single_sign.py Single Sign · b2_module2_multi_sign.py Multi Sign
Components 19
Application
- App and User Setup
A_main.py - Feature Navigation
A_main.py - UI Resources
resources_rc.py
Data and Training
- Data Collection
a1_data_collect_module.py - Model Training
a2_model_training_module.py
Recognition
- Single Sign
b1_module1_single_sign.py - Multi Sign
b2_module2_multi_sign.py - Recognition Setup
_detector.py - Gesture Detector
_detector.py - Sequence Assembly
b2_module2_multi_sign.py
Shared Services
- Landmark Processing
_landmark.py - Shared Configuration
_config.py - Speech Output
_tts_module.py
User Data
- Label Files
labels - Collected Sequences
- Trained Models
models
Other components
- User
- Webcam
- Audio Device
Connections 36
- User → App and User Setup: starts
README.md - App and User Setup → Shared Configuration: configures
A_main.py - App and User Setup → Feature Navigation: opens
A_main.py - App and User Setup → UI Resources: uses
A_main.py - Feature Navigation → Data Collection: opens
A_main.py - Feature Navigation → Model Training: opens
A_main.py - Feature Navigation → Single Sign: opens
A_main.py - Feature Navigation → Multi Sign: opens
A_main.py - User → Data Collection: defines labels
README.md - Data Collection → Webcam: captures frames
a1_data_collect_module.py - Data Collection → Landmark Processing: extracts landmarks
a1_data_collect_module.py - Data Collection → Collected Sequences: writes sequences
README.md - Data Collection → Label Files: saves labels
README.md - User → Model Training: selects dataset
README.md - Model Training → Collected Sequences: trains from
README.md - Model Training → Label Files: loads labels
a2_model_training_module.py - Model Training → Trained Models: saves model
README.md - Single Sign → Recognition Setup: inherits setup
b1_module1_single_sign.py - Multi Sign → Recognition Setup: inherits setup
b2_module2_multi_sign.py - Single Sign → Label Files: loads labels
b1_module1_single_sign.py - Single Sign → Trained Models: loads model
b1_module1_single_sign.py - Multi Sign → Label Files: loads labels
b2_module2_multi_sign.py - Multi Sign → Trained Models: loads model
b2_module2_multi_sign.py - Recognition Setup → Gesture Detector: initializes
_detector.py - Gesture Detector → Webcam: reads frames
_detector.py - Gesture Detector → Landmark Processing: extracts features
_detector.py - Gesture Detector → Trained Models: predicts with
- Single Sign → Gesture Detector: runs detection
b1_module1_single_sign.py - Multi Sign → Sequence Assembly: collects predictions
b2_module2_multi_sign.py - Sequence Assembly → Gesture Detector: runs detection
b2_module2_multi_sign.py - Single Sign → Speech Output: starts speech
b1_module1_single_sign.py - Multi Sign → Speech Output: starts speech
b2_module2_multi_sign.py - Speech Output → Audio Device: plays audio
_tts_module.py - Gesture Detector → Shared Configuration: reads settings
_detector.py - Data Collection → Shared Configuration: reads settings
a1_data_collect_module.py - Model Training → Shared Configuration: reads settings
a2_model_training_module.py