项目作者: REEKRAJROY

项目描述 :
Convert any pdf into audiobook.
高级语言: Python
项目地址: git://github.com/REEKRAJROY/myaudiobook.git
创建时间: 2021-06-23T15:10:58Z
项目社区:https://github.com/REEKRAJROY/myaudiobook

开源协议:

下载


myaudiobook

Audiobook made on Python using pyttsx3 and PyPDF2.

https://user-images.githubusercontent.com/55712612/123126223-d332b300-d466-11eb-8612-b6659b302dad.mov

Installation

Fork this repo then open cmd and type:-




pip install pyttsx3 which is a text to speech conversion library.


pip install pypdf2 to read PDF file using Python enter .


pip install pyaudio for text to speech conversion.




Upload the respective pdf you want to read.

Reference

I found this documentation quite helpful for understanding pyttsx3.


A good overview of PyPDF2 is given on pythonhosted. Do check this one out.


Moreover Programming Hero has a nice video about the same.
Follow along this video Don’t Buy Audiobooks! 😎 Build Your Own With Just 12 Lines Of Python for better understanding.