This project is an application of speech recognition. You will be able to get ouput with trasnlated voice overs in your preffered language for the videos. Does not work with every kind of videos, paticular videos which has single human speaker (like ted talks,speech or presentation).
- Uses VOSK open source speech recognition toolkit
- Supports all recognisable language by vosk
- Uses EasyNMT library for translating the textfile
- Works offline
virtualenv venv
.\venv\Script\activate
Vosk Model - Choose any English model(for better accuracy:: vosk-model-en-us-aspire-0.2)
Punctuator model - Download 'Demo-Europarl-EN.pcl' for English language
pip install -r requirements.txt
python first.py
- If there is 'windows file not found ' error , then you need to install ffmpeg. Use this link For installing ffmpeg
- Inorder for translator to work offline you have to download the entire translator file.