Convert text to speech
This script is written in Python and can be used to convert text to speech.
The following packages are used :
gtts
, Google-Text-To-Speech module, a wrapper around python to implement the text-to-speech API.pytesseract
, Optical Recognition Module, to convert (text) characters from images to text.wikipedia
, a Python wrapper to access basic wikipedia content about any given topic.Pillow
, an image-processing library in Python.
All these packages can be installed using pip.
An mp3 file will be created on running the script based on the option chosen
A file named text_content.mp3 will be generated.