GithubHelp home page GithubHelp logo

ahmedgulabkhan / tei2s Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 4.0 12 KB

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.

Python 100.00%
image-to-speech image-to-text text-to-speech gtts pytesseract tei2s

tei2s's Introduction

TEI2S

About

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.

Configuration Steps

  1. Cloning the repository
$ git clone https://github.com/ahmedgulabkhan/TEI2S.git
  1. Installing the dependencies

First goto the tesseract-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.

  1. Running the file

Open the terminal and cd to the directory where you have cloned the repository. Then run the file by typing python main.py.

tei2s's People

Contributors

ahmedgulabkhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tei2s's Issues

Mixing Windows and Linux instructions

Hi there,

The below instructions are in linux/mac whereas your python code is in window

$ pip install numpy

$ pip install PIL

$ pip install opencv-python

$ pip install pytesseract

$ pip install gTTS

----------python code --------------

import cv2
import numpy as np
import pytesseract
from PIL import Image
from gtts import gTTS
import os

pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe'

Path of working folder on Disk

src_path = './'

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.