How tarunpurohit11/silentvoice works
Silent Voice is a real-time sign-language-to-text-and-speech application. Its main workflow captures webcam frames, tracks hands, and branches into buffered static-letter or temporal dynamic-word recognition; the user can then submit accumulated signs for sentence restructuring and speech output. The dashboard presents live and corrected results. The graph preserves both recognition branches and their feature-processing layers. Sampled source supports the runtime wiring; README capability statements support the broader product description, while unsampled subsystem internals are not inferred.
Main entry points: main.py Recognition Runtime · dynamic_model.py Dynamic Classifier · camera.py Camera Input · feature_extractor.py Static Features
Components 18
Capture and Tracking
- Camera Input
capture/camera.py - Hand Tracking
processing/hand_tracking.py
Gesture Recognition
- Recognition Runtime
main.py - Static Features
processing/feature_extractor.py - Static Classifier
models/static_model.py - Two-Hand Features
processing/feature_extractor_2hand.py - Dynamic Classifier
models/dynamic_model.py
Language and Output
- Sentence Builder
sentence/sentence_builder.py - Dashboard
output/display.py - Speech Queue
ttl/speaker.py
Recognition Internals
- Model Configuration
config.py - Geometry Helpers
utils/geometry.py - Prediction Buffer
utils/buffer.py - Sequence Buffer
utils/sequence_buffer.py - Sequence Normalizer
utils/sequence_utils.py
Other components
- Signer
- Webcam
- Spoken Audio
Connections 18
- Signer → Webcam: performs signs
README.md - Webcam → Camera Input: video input
README.md - Camera Input → Recognition Runtime: reads frames
main.py - Recognition Runtime → Hand Tracking: tracks hands
main.py - Recognition Runtime → Static Features: extracts static
main.py - Recognition Runtime → Static Classifier: predicts letters
main.py - Recognition Runtime → Two-Hand Features: extracts motion
main.py - Recognition Runtime → Dynamic Classifier: predicts words
main.py - Recognition Runtime → Prediction Buffer: stabilizes predictions
main.py - Static Classifier → Model Configuration: loads encoder path
models/static_model.py - Static Features → Geometry Helpers: computes angles
processing/feature_extractor.py - Dynamic Classifier → Sequence Buffer: buffers frames
models/dynamic_model.py - Dynamic Classifier → Sequence Normalizer: normalizes sequence
models/dynamic_model.py - Dynamic Classifier → Two-Hand Features: adds velocity
models/dynamic_model.py - Recognition Runtime → Sentence Builder: restructures text
main.py - Recognition Runtime → Dashboard: renders status
main.py - Recognition Runtime → Speech Queue: queues sentence
main.py - Speech Queue → Spoken Audio: speaks text
ttl/speaker.py