How easternnova/handlex works
HandLex combines a React learning and information website with a separately developed Python sign-recognition pipeline. The intended recognition workflow runs from video or webcam input through hand-landmark detection and feature construction to model prediction; the sampled code supports preprocessing and webcam inference components, but does not show a frontend-to-backend connection. The website also provides learning, dictionary, practice, progress, and informational pages. Backend links below rely on the source index or README where noted; unsampled implementation details are not inferred.
Main entry points: App.jsx Route Application · Home.jsx Home · train.py Model Training · prepare_data_v6.py Dataset Preparation
Components 19
Website
- Route Application
frontend/src/App.jsx - Home
frontend/src/pages/Home.jsx - Translate Page
frontend/src/pages/Translate.jsx - Practice Page
frontend/src/pages/Practice.jsx - Sign Dictionary
frontend/src/pages/Dictionary.jsx - About Page
frontend/src/pages/About.jsx
Learning Content
- Learning Hub
frontend/src/pages/learn/Learn.jsx - Alphabet
frontend/src/pages/learn/Alphabet.jsx - Word Lessons
frontend/src/pages/learn/Words.jsx - Phrase Lessons
frontend/src/pages/learn/Phrases.jsx - Learning Progress
frontend/src/pages/learn/Progress.jsx
Recognition Pipeline
- Dataset Preparation
backend/modelA/prepare_data_v6.py - Hand Landmark Detection
backend/modelA/landmarker.py - Feature Construction
backend/modelA/features.py - Webcam Inference
backend/modelA/webcam.py
Model Development
- Model Training
backend/modelA/train.py - Model Definition
backend/modelA/model.py - Model Analysis
backend/modelA/analyze_v6.py
Other components
- Visitor
Connections 23
- Visitor → Route Application: opens website
- Route Application → Home: routes to
frontend/src/App.jsx - Route Application → Translate Page: routes to
frontend/src/App.jsx - Route Application → Practice Page: routes to
frontend/src/App.jsx - Route Application → Sign Dictionary: routes to
frontend/src/App.jsx - Route Application → About Page: routes to
frontend/src/App.jsx - Route Application → Learning Hub: routes to
frontend/src/App.jsx - Route Application → Alphabet: routes to
frontend/src/App.jsx - Route Application → Word Lessons: routes to
frontend/src/App.jsx - Route Application → Phrase Lessons: routes to
frontend/src/App.jsx - Route Application → Learning Progress: routes to
frontend/src/App.jsx - Home → Translate Page: links to
frontend/src/pages/Home.jsx - Home → Learning Hub: links to
frontend/src/pages/Home.jsx - Home → Practice Page: links to
frontend/src/pages/Home.jsx - Home → Sign Dictionary: links to
frontend/src/pages/Home.jsx - Dataset Preparation → Hand Landmark Detection: detects landmarks
backend/modelA/prepare_data_v6.py - Dataset Preparation → Feature Construction: builds features
backend/modelA/prepare_data_v6.py - Webcam Inference → Feature Construction: builds features
backend/modelA/webcam.py - Dataset Preparation → Model Training: prepares training data
- Model Training → Model Definition: trains model
- Webcam Inference → Model Training: loads trained model
- Model Training → Model Analysis: evaluates model
- Translate Page → Webcam Inference: planned integration