0% found this document useful (0 votes)
43 views6 pages

Smart Voice Assistant Project Overview

The document summarizes a project on developing a smart voice assistant. It discusses the objectives, hardware and software requirements, system architecture, key libraries used, features like API calls, system calls and content extraction, data flow diagram, pros and cons, and concludes that voice assistants are evolving to save users' time.

Uploaded by

singhopila
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views6 pages

Smart Voice Assistant Project Overview

The document summarizes a project on developing a smart voice assistant. It discusses the objectives, hardware and software requirements, system architecture, key libraries used, features like API calls, system calls and content extraction, data flow diagram, pros and cons, and concludes that voice assistants are evolving to save users' time.

Uploaded by

singhopila
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

A

SYNOPSIS REPORT

on

SMART VOICE ASSISTANT

Submitted in partial fulfillment of the requirement of the degree of

BACHELOR OF COMPUTER APPLICATION

Submitted To:
Mr. Aditya Harbola
Submitted By:

Opila Singh (Roll No. 30)

Priyanka Pithwal (Roll No. 31)

<Graphic Era Hill University Dehradun, Uttarakhand>


1. INTRODUCTION

A voice assistant, also known as an intelligent personal assistant or a connected


speaker, is a new type of device that is based on natural language speech
recognition and is offered by popular companies like Apple, Amazon, and Google.
We got inspired by that and created one our self.

Virtual assistants are software programs that help you ease your day to day tasks,
such as showing weather reports, giving daily news, searching the internet etc.
They can take commands by voice. Voice-based intelligent assistants need an
invoking word or wake word to activate the listener, followed by the command. We
have so many virtual assistants, such as Apple’s Siri, Amazon’s Alexa and
Microsoft’s Cortana and Amazon's Alexa and this has been an inspiration for us to
do this as a project. This system is designed to be used efficiently on
desktops. Voice assistants are programs on digital devices that listen and respond to
verbal commands. A user can say, “What's the weather?” and the voice assistant
will answer with the weather report for that day and location.

2. OBJECTIVE

Main objective of building personal assistant software (a virtual assistant) is using


semantic data sources available on the web, user generated content and providing
knowledge from knowledge databases. The main purpose of an intelligent virtual
assistant is to answer questions that users may have. This may be done in a business
environment, for example, on the business website, with a chat interface. On the
mobile platform, the intelligent virtual assistant is available as a call-button
operated service where a voice asks the user "What can I do for you?" and then
responds to verbal input. Virtual assistants can tremendously save you time.

3. HARDWARE AND SOFTWARE REQUIREMENTS

Hardware :-
• Pentium-pro processor or later.
• RAM 512MB or more.

Software :-
• Windows 7(32-bit) or above.
• Python 3.5 or later
• Chrome Driver
SYSTEM ARCHITECTURE

4. RESOURCES

Following are some of the key libraries used in this program:

 The Speech Recognition library allows Python to access audio from your
system’s microphone, transcribe the audio, and save it.
 Google’s text-to-speech package, gTTS converts your audio questions to
text. The response from the look-up function that you write for fetching
answer to the question is converted to an audio phrase by gTTS. This
package interfaces with Google Translate’s API.
 Playsound package is used to give voice to the answer. Playsound allows
Python to play MP3 files.
 Web browser package provides a high-level interface that allows displaying
Web-based pages to users. Selenium is another option for displaying web
pages. However, for using this you need to install and provide the browser-
specific web driver.
 Wolfram Alpha is a computational knowledge engine or answer engine that
can compute mathematical questions using Wolfram’s knowledge base and
AI technology. You need to fetch the API to use this package
5. FEATURES

 API CALLS
We have used API keys for getting news information from newsapi and
weather forecast from openweathermap which can accurately fetch
information and give results to the user.
 SYSTEM CALLS
In this feature, we have used OS & Web Browser Module to access the
desktop, calculator, task manager, command prompt & user folder. This can
also restart the pc and open the chrome application.
 CONTENT EXTRATION
This can Perform content extraction from YouTube, Wikipedia and Chrome
using the web driver module from selenium which provides all the
implementations for the webdrive like searching for a specific video to play,
to get a specific information in google or from Wikipedia.
 SERIAL MODULES
Finally, we used the serial module for implementing the Internet of Things
(IOT) feature for this project. It is a module which acquires the access for
the serial port of the Arduino board and used port number 11 and COM3.
6. DFD(Data Flow Diagram)

7. PROS AND CONS


8. CONCLUSION

As stated before, "voice assistant is one of the biggest problem solver", as we


can see that voice assistant is one of the major evolving artificial intelligence
in the current world once again on seeing the proposal examples because at
the past, the best feature which a voice assistant had was telling the date and
searching the web and giving the results but now look at the functions that it
can do so with this, we can say that it is a evolving software in the current
world. The main idea is to develop the assistant even more advanced than it
is now and make it the best ai in the world which will save an ample of time
for it users. I would like to conclude with the statement that we will try our
best and give one of the best voice assistants which we are able to.

Common questions

Powered by AI

The playsound package benefits smart voice assistants by providing a straightforward method to play MP3 files for voice output, facilitating the assistant's verbal responses to user queries . However, its limitation lies in its inability to handle streaming audio or adjust to different audio formats without additional packages, which might restrict the assistant's flexibility in delivering dynamic or varied audio content . While suitable for basic applications, more robust audio processing solutions may be required for complex uses .

The Wolfram Alpha computational engine provides the smart voice assistant with advanced computational capabilities and a robust knowledge base, enabling it to answer mathematical queries and other complex questions . By integrating with Wolfram Alpha's API, the voice assistant can perform calculations and retrieve data-driven answers beyond simple web searches, augmenting its ability to handle diverse informational requests .

Virtual assistants are based on natural language speech recognition and allow users to interact with them through verbal commands, providing a more intuitive and hands-free user experience . Traditional software applications typically rely on text-based input and graphical user interfaces, requiring manual operation with keyboard and mouse. Additionally, virtual assistants can perform tasks like web searches, give weather updates, and manage basic device functions through simple spoken commands, illustrating a broader range of interaction using voice .

Implementing IoT features through the serial module allows smart voice assistants to interact with and control physical devices, such as those connected via an Arduino board . This integration can extend the assistant's utility into the realm of home automation, enabling users to control lights, appliances, and other IoT devices through voice commands. The impact of this can be significant, transforming the assistant from a purely informational tool to a central hub for managing smart environments, enhancing user convenience and encouraging further adoption of smart home technologies .

Speech recognition technology enables the voice assistant to transcribe audio input from the user's speech into text, which can then be processed to understand the user's query or command . The Google Text-to-Speech (gTTS) engine converts text responses generated by the assistant back into audio, allowing the system to communicate answers verbally . This combination creates a seamless, interactive dialogue between the user and the assistant, providing a voice-driven interface that mimics natural human conversations .

The basic hardware requirements for setting up a smart voice assistant include a Pentium-pro processor or later and a RAM of 512MB or more . The software requirements entail running Windows 7 (32-bit) or later, Python 3.5 or newer, and installing a Chrome Driver to facilitate web interactions . These specifications ensure the assistant operates efficiently on desktop environments .

A voice assistant can be considered a 'problem solver' as it offers users a convenient and efficient way to access information and perform tasks that would traditionally require manual input, such as checking weather forecasts, obtaining news updates, or performing web searches . It automates routine tasks, which saves time and enhances productivity, illustrating its problem-solving capability in everyday scenarios .

API calls allow a smart voice assistant to retrieve external information by connecting to data sources and services such as newsapi for news updates and openweathermap for weather forecasts, which provide the assistant with access to current and accurate information . These APIs act as intermediaries, enabling the assistant to query and fetch data dynamically from other systems, thus extending the assistant's capabilities beyond its core functionalities and allowing it to respond to user queries with up-to-date information .

Selenium and the web browser packages enhance a voice assistant's content extraction capabilities by providing tools for automating web interactions, such as opening browsers and navigating web pages to extract information . Selenium, specifically, allows for detailed control of web automation, enabling the assistant to perform actions like playing videos or retrieving data from specific websites . This capability allows the assistant to deliver richer and more precise content to users directly from internet sources .

Developing a voice assistant beyond its current capabilities presents challenges such as improving natural language understanding to handle more complex or ambiguous queries effectively . Integrating diverse data sources without compromising speed or accuracy may pose additional technical challenges. Furthermore, ensuring user privacy and data security while handling increased personal data is a critical concern. Finally, the computational demands of advanced AI features require more sophisticated hardware and software solutions, potentially limiting accessibility for users with basic setups .

You might also like