-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Samir Paul
authored and
Samir Paul
committed
Sep 19, 2023
1 parent
ffbee74
commit 80980e8
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
# Real-Time Voice Translator | ||
<div align="center"> | ||
<h1> Real-Time Voice Translator </h1> <a href="#"><img alt="language" src="https://github.com/SamirPaul1/real-time-voice-translator/assets/132539454/5d9bd32d-48d3-474b-9108-5961179ab9af"></a> | ||
|
||
A machine learning project that translates voice from one language to another in real-time while preserving the tone and emotion of the speaker, and outputs the result in MP3 format. | ||
</div> | ||
|
||
### Problems and Solutions | ||
- **Google Translate API error 404**: This error occurs when the Google Translate API is not available or the request is not valid. To fix this, we will use the ```deep_translator``` library instead of ```google_trans_new```. | ||
- **Speech recognition does not work for continuous input**: The ```speech_recognition.Recognizer().listen()``` method does not work for continuous input data. To fix this, we will use the ```record()``` method with a timer. | ||
|
||
### TODO | ||
Update the ```record()``` timer to listen until the speaker stops speaking. | ||
Update the ```record()``` timer to listen until the speaker stops speaking. |