ALEXA
Alexa Skill that invokes a Lambda function to process the identified request and returns a response to be spoken back to the user.
MOTIVE/OBJECTIVE
How speech recognition works? And How Alexa can be operated using User's VOICE command ? A very interesting yet simple project to Throw some light on the Amazing Python Libraries .
SPEECH RECOGNITION
Pyaudio − It can be installed by using pip install Pyaudio command. SpeechRecognition − This package can be installed by using pip install SpeechRecognition , helps us to save time by speaking instead of typing. It also gives us the power to communicate with our devices without even writing one line of code. This makes technological devices more accessible and easier to use. Speech recognition is a great example of using machine learning in real life. In this project the User can give Voice commands to the Program which is Alexa and our Alexa will reply with the Relevant Output in her Melodious Voice .
Don't call her by any names other than Alexa else She will not Listen to you Please Note
Requirements:
Make sure you install these packages before moving forward to other python libraries-
Speech Recognition
pip install SpeechRecognition
PyAudio
pip install PyAudio
ttsx: (Offline Text to Speech Service)
pip install pyttsx3
winshell
pip install winshell
subprocess
pip install subprocess
requests
pip install requests
Current functionality of Alexa:
- Greets you as per time
- Finds near by resturants
- Open google
- Plays music
- Tells you the time
- Tells you the date
- Searches the input in chrome
- Do few general chatting like: 'How are you', 'reason for you', etc.
Implementation:
Install all the required packages which are mentioned above. After successful installation copy the code from main.py folder to your python editor. Enjoy all the features of Alexa .