Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 15

GALGOTIAS COLLEGE OF

ENGINEERING
AND TECHNOLOGY
Mini project
z Desktop Assistant

Presented to : Presented by:


Mr. Mayank Dixit Ashish Yadav(1900970100028)
Ajitesh Gautam (1900970100008)
Desktop voice assistant using python
• Virtual voice assistants are software programs that help you ease your day to day tasks, such as
showing weather reports, creating remainders, making shopping lists etc. They take commands by
voice.

• This system is designed to be used efficiently on desktops. Personal assistants software improves user
productivity by managing routine tasks of the user and by providing information from an online source to
the user.

• This software is not based on machine learning model ,it uses simple if-else statements hence
It is a example of weak AI
Why python?
• Python is a suitable language for scriptwriters and developers.

• Speech recognition is the process of converting audio into text. This is commonly used in voice
assistants like Alexa, Siri, etc.

• Python provides an API called ‘SpeechRecognition’ to allow us to convert audio into text for
further processing.

• Python have so many libraries that makes complex tasks like operation related to operating
system very easy using ‘os’ module
Workflow

Audio command

Microphone

Speech Central
recognition processor Routines
module
Modules/API
• pyttsx3
• speech_recognition
• datetime
• wikipedia
• webbrowser
• os
• smtplib
• pyautogui
• pyjokes
• requests, json
• open weather api
1- pyttsx3
• pyttsx3 is a text-to-speech conversion library in Python. Unlike alternative
libraries, it works offline, and is compatible with both Python 2 and 3

Installation
pip install pyttsx3

2- speech recognition
• Library for performing speech recognition, with support
for several engines and APIs, online and offline.

Installation
pip install SpeechRecognition
10

3-datetime
• The datetime module supplies classes for manipulating date and time
• It is a default module so we do not need to install it explicitly

4-wikipedia
• Wikipedia is a Python library that makes it easy to access and parse data from
Wikipedia.

Installation
pip install wikipedia

5-webbrowser
• The webbrowser module provide a high level interface to allow displaying web-
based document to user
• webbrowser is part of the python standard library, you don't have to install a
separate package to use it because it comes bundled with your python installation
6-os
• This module provides a portable way of using operating system dependent functionality
• It is a default module so we do not need to install it explicitly.

7-smtplib
• Simple Mail Transfer Protocol
• module defines an SMTP client session object that can be used to send mail to any
internet machine with an SMTP or ESMTP listener daemon

8-pyautogui
• PyAutoGUI lets your Python scripts control the mouse and keyboard to automate
interactions with other applications.

Installation
pip install pyautogui
9-pyjokes
• One line jokes for programmers (jokes as a service)

Installation
pip install pyjokes

10-request
• response.json() returns a JSON object of the result (if the result was written in
JSON format, if not it raises an error)
• Python requests are generally used to fetch the content from a particular resource
URI.
• Whenever we make a request to a specified URI through Python, it returns a
response object
11-open weather API
• OpenWeatherMap is an online service, owned by OpenWeather Ltd, that provides global 
weather data via API, including current weather data, forecasts, nowcasts and historical
weather data for any geographical location. 
functions
• Tells time and date
• open google
• open youtube
• Can open visual studio code
• Open stack overflow
• Tells one liner jokes
• Weather condition in any city
• Can send emails
• Create reminder list
• Can shutdown, restart ,sleep the system
• Searches on Wikipedia
• Plays music
• Takes screenshot
• If does not recognise the command redirect to the google
• Terminates the process by calling trigger words like bye , goodbye etc
scope

• Voice assistants will continue to offer more individualized experiences as they get better at
differentiating between voices.
• However, it’s not just developers that need to address the complexity of developing for voice as
brands also need to understand the capabilities of each device and integration and if it makes sense
for their specific brand.
• They will also need to focus on maintaining a user experience that is consistent within the coming
years as complexity becomes more of a concern.
• this is because the visual interface with voice assistants is missing. Users simply cannot see or touch
a voice interface
Future improvements

• Better privacy
• Multiple language support
• Emotion based result filtration
• Working with UI
• Personalized result on the basis of previous history
conclusion
This project presents a comprehensive overview of the design and development of a Voice
enabled personal assistant for pc using Python programming language. This Voice enabled
personal assistant, in today's life style will be more effective in case of saving time, compared
to that of previous days. This Personal Assistant has been designed with ease of use as the
main feature. The Assistant works properly to perform some tasks given by user. Furthermore,
there are many things that this assistant is capable of doing, like turning our PC off, or
restarting it, or reciting some latest news, with just one voice command.
Thank you

You might also like