This aims to develop a personal-assistant for windows-based systems.
FINAL DAVID(DEMO) <
David-Final.mp4
My Personal Assistant - 'David' draws its isnpiration from virtual assistants like Cortana for windows and (also some features will be added in future like Siri for iOS).
It has been designed to provide a user-friendly interface for carrying out a variety of tasks by employing certain well-defined commands.
STATEMENT <
As we know Python is an emerging language so it becomes easy to write a script for Voice Assistant in Python. The instructions for the assistant can be handled as per the requirement of user. Speech recognition is the process of converting speech into text. This is commonly used in voice assistants like Alexa, Siri, etc. In Python there is an API called SpeechRecognition which allows us to convert speech into text. It was an interesting task to make my own assistant. It became easier to send emails without typing any word, Searching on Google without opening the browser, and performing many other daily tasks like playing music, opening your favorite IDE with the help of a single voice command. In the current scenario, advancement in technologies are such that they can perform any task with same effectiveness or can say more effectively than us. By making this project, I realized that the concept of AI in every field is decreasing human effort and saving time. Functionalities of this project include:
- It can send emails.
- It can read PDF.
- It can send text on WhatsApp.
- It can open command prompt, your favorite IDE, notepad etc.
- It can play music.
- It can do Wikipedia searches for you.
- It can open websites like Google, YouTube, etc., in a web browser.
- It can give weather forecast.
- It can give desktop reminders of your choice.
- It can have some basic conversation.
Now the basic question arises in mind that how it is an AI? The virtual assistant that I have created is like if it is not an A.I, but it is the output of a bundle of the statement. But fundamentally, the mail purpose of A.I machines is that it can perform human tasks with the same efficiency or even more efficiently than humans. It is a fact that my virtual assistant is not a very good example of A.I., but it is an A.I.
INTRODUCTION TO OUR PERSONAL VIRTUAL ASSISTANT - 'DAVID' <
Artificial Intelligence when we used with machines, it shows us the capabilty of thinking like humans. In this, a computer system is designed in such a way that typically requires interaction from human. As we know Python is an emerging languae so it becomes easy to write a script for voice assistant in python.
The instructions for this can be handled as per the requirement of user. Speech Recognition is Alexa, Siri, Google Assistant, etc. In python there is a module named as 'SpeechRecognition' which is a external built module also we can say that is a python library which helps in performing speech recognition, with support for several engines and APIs, online and offline which allows us to convert speech into text.
It is an interesting task to make my own personal voice assistant.
It became easier to send emails without typing any word, easier to send whatsapp message without typing any words, searching on google without opening the browser by own like just say 'David can you tell me who is the founder of Python language?', and performing many other tasks like playing music, opening your favourite games by single voice command, opening your favourite IDE by single voice command and so on.. .
The functionality include in my 'David':-
- It can send emails
- It can read pdf files
- It an send texts on whatsapp
- It can open command prompt
- It can open your favourite game
- It can open your IDE
- It can switch the window
- It can open your notepad and so on.... there are 100+ functions included in my 'David'
- TOOLS AND TECHNOLOGY USED:- I used VS code editor IDE for making this amazing project and I created all python files in VS code editor.
- Modules used for making this project:- pyttsx3, speechrecognition, datetime, os, cv2, requests, wikipedia, webbrowser, pwhatkit, smtplib, sys, time, pyautogui, PyQt.......... and so on in this project i used 30+ modules in it.
DATA FLOW <
The Data flow of 'David' is as follows:
- START --> 1. Live GUI for interaction will appear on screen.
- INPUT --> 2. It will take input through our voice commands related to the task which is required to be done.
- PERFORM --> 3. It will perform the required tasks for the user like opening notepad, opening code editor, autotyping, autosaving the file, chrome automation, whatsapp automation, you tube automation and so on.... etc.
- EXIT/QUIT --> 4. It keeps on asking command from user until the user say 'Quit' or any oher command which was written in your code for quitting your personal assistant. Once the user says that command, it quits or exit.
REQUIREMENTS FOR THIS PRJOECT <
- SCOPE FOR FUTURE WORK
- Android app can be developed from this
- Make more voice terminals of this assistant.
- voice commands can be encrypted to mainain security.
- Make personal voice assistant like 'David' to learn more on its own and develop a new skill.