- Notifications
You must be signed in to change notification settings - Fork4
TEI2S is a project which is really helpful for the visually impaired, in a sense that it takes an image containing text embedding as the input, extracts the text from the image, and converts this text to speech, i.e; the output is an audio file containing the text which is embedded in the provided input image.
ahmedgulabkhan/TEI2S
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
TEI2S (Text Embedded Image to Speech conversion) is a project which is really helpful for the visually impaired, in a sense that it takes an image containing text embedding as the input, extracts the text from the image, and converts this text to speech, i.e; the output is an audio file containing the text which is embedded in the provided input image.
- Cloning the repository
$ git clone https://github.com/ahmedgulabkhan/TEI2S.git
- Installing the dependencies
First goto thetesseract-OCR engine, read the steps and install it on your system. After installing it, follow the steps mentioned below.
$ pip install numpy$ pip install PIL$ pip install opencv-python$ pip install pytesseract$ pip install gTTS
This installs all the required dependencies like Numpy, PIL (Python Imaging Library), OpenCV, Pytesseract and gTTS.
- Running the file
Open the terminal andcd
to the directory where you have cloned the repository. Then run the file by typingpython main.py
.
About
TEI2S is a project which is really helpful for the visually impaired, in a sense that it takes an image containing text embedding as the input, extracts the text from the image, and converts this text to speech, i.e; the output is an audio file containing the text which is embedded in the provided input image.