Skip to content

Commit 6af88e3

Browse files
authored
added information about libraries
1 parent 7a28104 commit 6af88e3

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

AutomationScripts/Speech Recognizer/README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,44 @@ It also gives us the power to communicate with our devices without even writing
44
This makes technological devices more accessible and easier to use. Speech recognition is a great example of using machine learning in real life.
55

66
## Modules Used
7+
8+
### SpeechRecognition
9+
10+
It is a library for performing speech recognition, with support for several engines and APIs, online and offline.
11+
12+
`SpeechRecognition` engine/API support:
13+
14+
- CMU Sphinx (works offline)
15+
- Google Speech Recognition
16+
- Google Cloud Speech API
17+
- Microsoft Bing Voice Recognition
18+
- Houndify API
19+
- IBM Speech to Text
20+
21+
### pyttsx3
22+
23+
`pyttsx3` is a text-to-speech conversion library in Python. Unlike alternative libraries, it works offline, and is compatible with both Python 2 and 3. Works without internet connection or delay. Supports multiple TTS engines, including Sapi5, nsss, and espeak.
24+
25+
## Install
26+
27+
Install both the libraries with `pip` command in any terminal
28+
29+
```python
30+
pip install SpeechRecognition
31+
32+
pip install pyttsx3
33+
```
34+
35+
## Working
36+
37+
Import the `SpeechRecognition` and `pyttsx3` libraries in the Python file that you are going to use for recognizing your voice commands in your console/application.
38+
39+
For example-
40+
41+
```python
42+
import speech_recognition as sr
43+
44+
import pyttsx3
45+
```
46+
47+
## Screenshots

0 commit comments

Comments
 (0)