How lenguyen1726/khdl works
This repository implements a desktop ASL alphabet-to-text application, alongside scripts for collecting landmark samples, preparing Kaggle landmarks, and training classifiers. The live application captures webcam frames, detects and normalizes hand landmarks, classifies them with a Transformer, and provides text-entry and spelling-suggestion controls. The training scripts cover both Transformer and standard ExtraTrees models, with evaluation outputs. The README is empty, so capability descriptions rely on the sampled code; omitted source limits confirmation of some internal call paths.
Main entry points: train_landmark_transformer.py Transformer training · Application.py Desktop application · train_landmark_model_standard.py Standard model training · landmark_transformer_model.py Landmark Transformer
Components 12
Live sign-to-text
- Desktop application
Application.py - Landmark Transformer
landmark_transformer_model.py
Landmark data
- Custom sample collector
collect_custom_landmarks_auto_safe.py - Kaggle landmark preparation
prepare_kaggle_landmarks_standard.py - Landmark datasets
Model training
- Transformer training
train_landmark_transformer.py - Standard model training
train_landmark_model_standard.py - Trained model artifacts
- Evaluation outputs
- Kaggle model test
test_kaggle_model.py
Other components
- App user
- Webcam
Connections 13
- Webcam → Desktop application: supplies frames
Application.py - Desktop application → Landmark Transformer: runs inference
Application.py - Desktop application → App user: shows text
- App user → Desktop application: controls text
- Custom sample collector → Landmark datasets: writes samples
collect_custom_landmarks_auto_safe.py - Kaggle landmark preparation → Landmark datasets: writes landmarks
prepare_kaggle_landmarks_standard.py - Landmark datasets → Transformer training: provides samples
- Landmark datasets → Standard model training: provides samples
- Transformer training → Landmark Transformer: trains architecture
train_landmark_transformer.py - Transformer training → Trained model artifacts: saves checkpoint
train_landmark_transformer.py - Transformer training → Evaluation outputs: writes metrics
train_landmark_transformer.py - Standard model training → Trained model artifacts: saves classifier
train_landmark_model_standard.py - Standard model training → Evaluation outputs: writes metrics
train_landmark_model_standard.py