Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kalebu/python-speech-recognition-
This consist of basic examples of performing Speech Recognition in Python using Google Speech Recognition Engine
https://github.com/kalebu/python-speech-recognition-
artificial-intelligence machine-learning natural-language-processing python python-nlp python-project python-project-beginner python-speech python-speech-to-text python-speechrecognition
Last synced: 11 days ago
JSON representation
This consist of basic examples of performing Speech Recognition in Python using Google Speech Recognition Engine
- Host: GitHub
- URL: https://github.com/kalebu/python-speech-recognition-
- Owner: Kalebu
- Created: 2020-09-12T09:19:26.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T07:59:01.000Z (almost 2 years ago)
- Last Synced: 2024-11-02T03:42:11.707Z (18 days ago)
- Topics: artificial-intelligence, machine-learning, natural-language-processing, python, python-nlp, python-project, python-project-beginner, python-speech, python-speech-to-text, python-speechrecognition
- Language: Python
- Homepage: https://kalebujordan.com/python-speech-recognition/
- Size: 301 KB
- Stars: 63
- Watchers: 3
- Forks: 30
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Speech Recognition in Python
Python-Speech-Recognition
---------------------------This repository of basic examples on performing Speech Recognitionin Python using Google Speech Recognition Engine.
The original article
-------------------------To see full article with explanation on source code from this repository **[Click here](https://kalebujordan.com/python-speech-recognition)**
Getting started 🔧
--------------------
Firstly before we begin exploring the source code, you might wanna *clone* or *download* the repository
just as shown below;```bash
# Clone this repository
$ git clone https://github.com/Kalebu/Python-Speech-Recognition-# Go into the repository
$ cd Python-Speech-Recognition-
```## Dependancies
Now you would need to Install all the Dependecies to begin running
playing the ExamplesLinux users
----------```bash
$ pip3 install pydub
$ pip3 install PyAudio
$ pip3 install SpeechRecognition
```Window users
-----------```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 MicrophoneTo 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 fileTo 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 chunksThe 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
```Explore and build your own thing
---------------------------------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.
Give it a star
--------------
Did you find this information useful, then give it a starCredits
-----------
All the credits to [kalebu](github.com/kalebu)*The Only limits are the one you have set upon yourself @unkown*