-
Notifications
You must be signed in to change notification settings - Fork 23
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
cb0117f
commit 928520f
Showing
1 changed file
with
9 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,2 +1,9 @@ | ||
# real-time-voice-translator | ||
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. | ||
# Real-Time Voice Translator | ||
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. | ||
|
||
## 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. |