/pdf2speech

PDF to speech generator

Primary LanguagePython

pdf2speech

A speech to text generator from PDF files.

Libraries

  • pyttsx3 - Based of NSSpeechSynthesizer (macOS 10.3–14.0 - Deprecated)
  • PyPDF2

Installation via MacOS 10.10 and above

After installing pyttsx3 refer to pull request 35 and implement these code changes to enable pyttsx3 to work correctly.

Instructions

  1. Add 'book.pdf' to folder.
  2. Run main.py

Expected Result: An aiff file is generated from the text of the PDF.

Other notes: 'book.pdf' and 'speech.aiff' can be renamed, when renaming these keep the file extensions.