GithubHelp home page GithubHelp logo

rdpfeifle / pdf-to-speech Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 24 KB

A Python-based tool for converting PDF documents to audio format.

License: MIT License

Python 100.00%
pypdf2-library python3 gtts-library

pdf-to-speech's Introduction

PDF to Speech

This project includes functionality to extract text from PDF files and then use text-to-speech technology to generate audible versions of the content, enhancing accessibility and convenience.

Features

  • Extract text from a given PDF
  • Convert extracted text to audio

Technologies

  • Python: The programming language used for the project.
  • PyPDF2 library: Utilized for extracting text from PDF files.
  • gTTS library: Google Text-to-Speech, used for converting extracted text to audio format.

Motivation

I enjoy reading, but sometimes it's hard to get into the mood to tackle certain PDF documents, especially lengthy or complex ones. That's where the idea for this tool came in: Why not create a way to convert these PDFs into audio? With this approach, I can access the necessary information in a more relaxed and convenient manner, either by just listening or by combining audio with traditional reading.

Instructions

Installation

virtualenv env
source env/bin/activate

pip3 install -r requirements.txt

Running the code

python3 pdf_to_audio.py

License

© 2023 Raquel Pfeifle. All Rights Reserved. This project is licensed under the MIT License.

Contact

Raquel Pfeifle - LinkedIn

pdf-to-speech's People

Contributors

rdpfeifle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.