Skip to content

Commit

Permalink
Finishing up ReadMe.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kalebujordan committed Sep 12, 2020
1 parent 04b565d commit fe845e9
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,76 @@ $ cd Python-Speech-Recognition-
```

## Instructions

Now you would need to Install all the Dependecies to begin running
playing the Examples

For Linux :
```bash

$ pip3 install pydub
$ pip3 install PyAudio
$ pip3 install SpeechRecognition
```

For Window :
```bash
$ pip install pydub
$ pip install PyAudio
$ pip install SpeechRecognition
```

Once everything is cleary installed , you're now ready to run the above examples

# Recognition From Microphone

The first Example *app.py* consist of python code to perform speech recognition
on sound that is directly fed from Microphone

To run the Example do the following

```bash
$ python app.py
Adjusting noise
Recording for 4 seconds
Done recording
Recognizing the text
Decoded Text : Python is awesome
```

# Recognition From Audio File

The second Example *app_audio.py* consist of a python code to perform speech recognition from
sound loaded from local audio file

To run the Example do the following

```bash
$ python3 app_audio.py
Done recording
Recognizing the text
Decoded Text : python programming is the best of all by Jordan
```

# Recognizing From Long Audio File

Incase you have a long audio File, loading plus processing it, It takes a quite a while therefore
the best way is to break the long audio source from file into small chunks and then performing
speech Recognition on those chunks

The script *long_audio.py* consist of Python demo code just to that

To run the example do the Following

```bash
$ python3 app_audio.py
Done recording
Recognizing the text
Decoded Text : python programming is the best of all by Jordan
```

Well Hope you had amazing time practicing Some Speech Recognition

Now It's your turn to create something useful out of what you just learned

*The Only limits are the one you have set upon yourself @unkown*

0 comments on commit fe845e9

Please sign in to comment.