Helping Hand - Dynamic Translator:: It is a dynamic translation application offering a range of functionalities to help with language translation, speech synthesis, and text extraction.
- Text-to-Text Translation: Translate text from one language to another.
- Text-to-Speech: Convert written text to spoken words with various voice options.
- Speech-to-Text: Convert spoken language into text.
- File-to-Speech: Read aloud text content from files.
- Speech-to-Speech: Translate spoken language into another spoken language in real-time.
- Image-to-Text & Speech: Extract text from images and read it aloud.
- tkinter: Standard GUI toolkit for graphical user interfaces.
- customtkinter: Enhanced version of tkinter with a modern look and additional features.
- googletrans: Interfaces with Google Translate for language translation.
- pyttsx3: Text-to-speech conversion library.
- speech_recognition: Library for speech recognition.
- pytesseract: OCR tool for extracting text from images.
- Python 3.x
- Tesseract-OCR (must be installed separately)
-
Clone the Repository
git clone https://github.com/PayalLakra/Helping-Hands---A-Dynamic-Translator.git cd Helping-Hands---A-Dynamic-Translator
-
Install the Required Python Packages
pip install -r requirements.txt
-
Install Tesseract-OCR
-
Download and install Tesseract-OCR from here.
-
Ensure the path to the Tesseract executable is set correctly in the script. Adjust the path in the script file:
import pytesseract pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe'
-
Run the application by executing:
python CodeTranslator.py