Giter Site home page Giter Site logo

Comments (3)

shravanasati avatar shravanasati commented on July 20, 2024 1

For reading all pages of a PDF, you need to run a for loop to extract text from every page and then make the program speak the whole text. If you want to create an audio file (mp3) which contains audio for every single page of the PDF, checkout my repository: https://github.com/Shravan-1908/Audiobook-Maker

from audiobook.

ashraf-minhaj avatar ashraf-minhaj commented on July 20, 2024

sir it only read the http links and chapter number and page number only...

The thing is that the library can only read printable texts. If the texts are not in printable format, it can't read them. To extract text from non-printable format such as images we need to perform some kind of image operations.

from audiobook.

shravanasati avatar shravanasati commented on July 20, 2024

@ashraf-minhaj is right, PyPDF2 can only read printable texts. To read, text from image, you'll need an OCR. This article might help you: https://towardsdatascience.com/how-to-extract-text-from-images-with-python-db9b87fe432b

from audiobook.

Related Issues (8)

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.