This Python script reads a PDF file and converts its text to speech using a female voice. It uses PyPDF2 to extract text and pyttsx3 for text-to-speech.
A simple Python script that reads text from a PDF file and converts it into speech using the pyttsx3 text-to-speech engine.
- Extracts text from any PDF file
- Converts text to speech using a female voice
- Reads from page 5 to the end
- Python 3.x
- pyttsx3
- PyPDF2
pip install pyttsx3 PyPDF2
python pdftoaudio.py