Coder Social home page Coder Social logo

python-voice-assistant's Introduction

Welcome to Friday

Welcome to my Voice Assistant Project developed using Python and Speech Recognition and pyttsx3 designed specifically for a Windows OS system

This Voice Assistant Works as:

  • Text messages are converted to speech using a Voice Engine
  • Voice Input is taken and converted to text using Speech Recognition module in python which uses Google to convert speech to text
  • Multiple checks are run on the text to checks based on conditions for what task is to be done, and as soon as some condition is passed, the task binded to the condition is executed
  • Extra data that might be needed to print is converted to Speech from text
  • Friday repeats and waits for next command

Dependencies

Since Friday is made using several modules of python for different tasks like conversion of text-to-speech and speech-to-text

Below is the Information of the dependencies and Installation process

pyttsx3 : This is the tool used for conversion of text-to-speech $ pip install pyttsx3

speech_recognition : This is the tool used for conversion of speech-to-text $ pip install speechrecognition

wikipedia : For fetching data from wikipedia $ pip install wikipedia

Other pre-installed python modules in use

datetime : For accessing Date and Time subprocess : Module for calling subprocesses os : OS commands module

Installation

To convert this Voice Assistant Application to an Executable (.exe) File, we will use a python tool called pyinstaller

pyinstaller Installation

  1. Open the scripts folder in the python subdirectories installed in your system.
  2. Open powershell or terminal window in the folder.
  3. Install pyinstaller using the command $ pip install pyinstaller

Installation of bot as an executable file

  1. Open the folder where your python script of the project (Voice Assistant in this case) is stored and open PowerShell or Terminal Window.
  2. Run the command $ pyinstaller friday.py

After the Tool successfully converts python (.py) file to an executable (.exe) file, 2 folders will be created in the same directory named build and dist respectively. The executable file can be found in the dist folder.

ThankYou Note

Thanks for checking out this project and finding it worthy enough to be read.

Going forward, it would be great if you try to customize this bot to your own needs.

  • I use this in my daily usage for the simple reason that i can bind all my essential quick access tasks to a voice command.
  • It is simple for modifications, as all to be done is running processes based on commands, wherein command-queries are available in form of text where we can search for phrases or clauses and run specific processes based on them like opening websites etc.

For further contacts, connect to me on LinkedIn

python-voice-assistant's People

Contributors

developer-kush avatar

Watchers

 avatar

Forkers

rameez-1807

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.