Jopex1/real-time-voice-translator
๐ Capture speech, translate it instantly, and playback audio in a selected language with this easy-to-use real-time voice translator built on Python and Streamlit.
What's novel
๐ Capture speech, translate it instantly, and playback audio in a selected language with this easy-to-use real-time voice translator built on Python and Streamlit.
Code Analysis
8 files read ยท 3 roundsA thin wrapper around Google's STT, Translate, and TTS APIs that captures microphone audio, transcribes it, translates it to a selected language, and plays back the translated speech, with two UI implementations (Streamlit web and Tkinter desktop).
Strengths
The core pipeline (speech โ text โ translation โ TTS) is functional and covers 15 languages including several Indian languages. The dual UI approach (web + desktop) provides flexibility for different user preferences.
Weaknesses
The code is a minimal glue layer over three Google services with no custom algorithms, no tests, no offline capability, and significant documentation inaccuracies (README links to a zip in merge_request_templates, REPORT references non-existent files and features). The Streamlit continuous-listen loop using st.rerun() + time.sleep() is architecturally unsound, and main.py contains a mixed-indentation bug that would cause a SyntaxError.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
7
Contributors
2
Files
26
Active weeks
4
Repository
Language
Python
Stars
1
Forks
0
License
NOASSERTION