| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This Python script uses pyttsx3 and PyPDF2 to read the text content of a PDF file and convert it to speech using text-to-speech synthesis. It allows for playback of the PDF content and provides a hotkey ("q") to stop the playback at any time.
pip install pyttsx3 PyPDF2 keyboardpython pdf_text_to_speech.pyThe script takes a PDF file as input, extracts the text content from each page, and uses pyttsx3 to read it out loud. The playback can be stopped at any time by pressing the 'q' key.
| Back | FazBrowse Home | New Git URL |