GithubHelp home page GithubHelp logo

pranay-009 / virtual-assistant Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 11.95 MB

virtual assistant project that can perform multiple task created using python. Just like virtual assistants like Siri, Alexa we have "Alex" our own virtual assistant.

Python 100.00%
python tts voice-assistant speech-synthesis speech-recognition pyttsx3 google-speech-recognition pywhatkit

virtual-assistant's Introduction

Virtual-Assistant

This is a virtual assistant project created using python. Just like virtual assistants like Siri, Alexa we have "Alex" our own virtual assistant. The virtual assistant can do many tasks like introducing self, It can tell you the time, open social media sites (Facebook, Instagram) in your web browser, open music, photos all by using voice command, it can also send WhatsApp messages, and search about anything on google, Wikipedia. I used Microsoft Sapi5 API to convert text to voice, and google speech recognizer to recognize the voice commands, we used other libraries like datetime, pyttsx3,pyaudio, os,wikipedia,webrowser,pywhatkit,sys,speech_recognition. Each of the above libraries was used to perform some particular tasks like recognizing voice or opening a browser or to search something on Google (example: Wikipedia was used to perform Wikipedia search and give 2 sentences as the output). For this project, I did not use any real-world data but used some words as features which would help to identify which task to perform, example If you want to search something on google just use the “search” word in your voice command if you want Wikipedia search make sure you use “Wikipedia search” at the starting of your sentence, we used exceptional handling to handle exception like if the program cannot understand what you want. Let me explain the different actions that took place in this particular program, as we know for a virtual assistant like Siri or Alexa it’s important to convert text to speech, so we use Microsoft sapi5 API, we set voice[1].id for the female voice you could change it into a male by changing the value to 0. Another vital objective of a virtual assistant is to recognize the speech or voice command, we used a google speech recognizer to recognize it, you can choose any other speech recognizing API /engine(Google cloud speech API, Microsoft Bing voice recognition, etc) Libraries used: ➤googlesearch ➤pyttsx3 ➤wikipedia ➤os ➤pyaudio ➤speech_recognition ➤webbrowser ➤pywhatkit

virtual-assistant's People

Contributors

pranay-009 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.