This is a simple Python application that converts PDF files into speech using text-to-speech (TTS) technology. It uses tkinter for file selection, PyPDF2 for PDF reading, and pyttsx3 for offline TTS.
- Select any PDF file from your computer.
- Reads the entire PDF aloud, page by page.
- Notifies if a page is empty or cannot be read.
- Works offline (no internet required).
Install the required packages using pip:
pip install pyttsx3 PyPDF2Run the script:
python main.pyA file dialog will appear. Select the PDF you want to listen to. The application will read the PDF aloud.
- Prompts the user to select a PDF file.
- Reads each page and extracts text.
- Uses TTS to read the text aloud.
- Prints a message if a page is empty or unreadable.
This project is licensed under the MIT License.