Skip to content

HoangDavid/Live-Translation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Translation Pipeline

Currently a work in progress

A low-latency live translation pipeline designed to provide real-time captions, translation, and dubbing for video conferencing and streaming applications. The system prioritizes speed and lightweight deployment by leveraging Faster Whisper Tiny for speech-to-text, OPUS-MT models for machine translation, and Piper for text-to-speech synthesis.

How to use

  1. Install dependencies
pip install -r requirements.txt
  1. Install Machine Translation and Voice models

Then update your model url in the .env file

  1. Run the service: You can run test indepedently for now by running each layers in /pipeline and run:
python app/pipeline/stt.py
python app/pipeline/mt.py
python app/pipeline/tts.py

Note: running the test required you to open your mic, please have that enabled before running the tests.

About

Real-time captions, translation, and dubbing pipeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors