Skip to content

You can create sound from image files now. Imagine displaying an image from the forest with the actual forest sound in the background–Just adds to the drama. For this to run, have an image file and sound file (in .mp3 format) ready.

Notifications You must be signed in to change notification settings

zoe-abedi/image-to-sound-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Look imageto-sound-python

Intro

This repo will help you get started on how you can get started with Optical character recognition (OCR) and speech synthesis in python by building a simple project that will be converting an image into an audible sounds, combining both OCR and SPeech synthesis in one application

Getting started

In order to use this code, firstly clone the repo using git or download the zip file manually

$-> git clone https://github.com/Kalebu/image-to-sound-python-
$->cd image-to-sound-python-
$ image-to-sound-python--> python app.py

Dependancies

In order to run this code you're supposed to have pytesseract and google text to sound libary installed on your machine, you can just use pip command to this.

-> pip install pytesseract
-> pip install gTTS

How to run

By default the script will load an image with name image.jpg from its current directory to change it adjust the it to be the your new image name.

drawing

Explore it

Now keep explore it by testing it with various input picture to see what kinda of sound it produces

Give it a star

Did you find this information useful, then give it a star

About

You can create sound from image files now. Imagine displaying an image from the forest with the actual forest sound in the background–Just adds to the drama. For this to run, have an image file and sound file (in .mp3 format) ready.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages