As we know Python is a suitable language for script writers and developers. Let’s write a script for Voice Assistant using Python. The query for the assistant can be manipulated as per the user’s need. Speech recognition is the process of converting audio into text. This is commonly used in voice assistants like Alexa, Siri, etc. This project does not implement any sort of machine learning or language processing. Python provides an API called SpeechRecognition to allow us to convert audio into text for further processing.
Make sure you install these packages before moving forward to other python libraries-
-
pip install SpeechRecognition
-
pip install PyAudio
-
pip install pyttsx3
-
pip install winshell
-
pip install subprocess
-
pip install requests
- Greets you as per time
- Open youtube
- Open google
- Open stackoverflow
- Plays music
- Tells you the time
- Tells you the date
- Open instagram, facebook and whatsapp
- Searches the input in chrome
- Empty the recycle bin
- Sign out from your desktop
- Do few general chatting like: 'How are you', 'reason for you', etc.
- Say 'Quit' to off Jarvis
Install all the required packages which are mentioned above. After successful installation copy the code from jarvis.py folder to your python editor. Enjoy your personal JARVIS :)
A lot can be done with this project. Core AI chatbot like functionality can be added. More python scripts can be associated. Pull requests for any such changes are accepted. Feel free to fork this project and make your own changes too. Patches, ideas, and bug reports welcome.