Skip to content

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.

Notifications You must be signed in to change notification settings

Prabinkarki67/pdf_to_audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

pdf_to_audio

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.

PDF to Audio Converter ๐Ÿ”Š

A simple Python script that reads text from a PDF file and converts it into speech using the pyttsx3 text-to-speech engine.

Features

  • Extracts text from any PDF file
  • Converts text to speech using a female voice
  • Reads from page 5 to the end

Requirements

  • Python 3.x
  • pyttsx3
  • PyPDF2

Usage

pip install pyttsx3 PyPDF2
python pdftoaudio.py

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages