Professional Documents
Culture Documents
MUSKAN 4GL18EC022
NISHMITHA T S 4GL18EC026
SUDHAKAR Y B 4GL18EC041
VARSHA RAVINDRAN 4GL18EC046
Prof. BHAGYAMMA S
M. TECH.,
Associate. Professor
Dept. of E&C Engineering
Government Engineering College,
Kushalnagar-571 234
CERTIFICATE
Certified that the Internship Training Report entitled “Jarvis: A Virtual Voice Assistant
for Desktop Using Python” carried out by Miss. Muskan USN: 4GL18EC022, Miss.
Nishmitha T S USN: 4GL18EC026, Mr. Sudhakar Y B USN: 4GL18EC041 and Miss.
Varsha Ravindran USN: 4GL18EC046 are bonafide students of Government Engineering
College, Kushalnagar in partial fulfillment for the award of Bachelor of Engineering in
Electronics and Communication Engineering of the Visvesvaraya Technological
University, Belagavi during the year 2021-2022. It is certified that all
corrections/suggestions indicated for Internal Assessment have been incorporated in the
Internship Report. The Internship Report has been approved as it satisfies the academic
requirements in respect of the Internship Report prescribed for the Bachelor of
Engineering Degree.
Internal Viva
Name of the Examiners Signature with date
1. 1.
2. 2.
3. 3.
Government Engineering College, Kushalnagar-571234
Department of Electronics & Communication Engineering
VTU Research Center
CERTIFICATE
This is to Certify Ms. Muskan USN: 4GL18EC022, Ms. Nishmitha T S USN:
4GL18EC026 and Mr. Sudhakar Y B USN: 4GL18EC041, Ms. Varsha Ravindran USN:
4GL18EC046 are bonafide students of Government Engineering College, Kushalnagar
has succesfully completed Internship Training [18ECI85] titled “Jarvis: A Virtual Voice
Assistant for Desktop Using Python” at Electronics and Communication Engineering,
GEC, VTU Research Center, Kushalnagar. This Internship Training have been carried out
from 1st to 30th September 2021 [Four Weeks], in partial requirement for the award of
Bachelor of Engineering in Electronics and Communication Engineering from
Government Engineering College, Kushalnagar, affiliated to Visvesvaraya Technological
University, Belagavi-590018.
Internship Guide
Prof. BHAGYAMMA S
M. TECH.,
Associate Professor
Dept. of E&C Engineering
Government Engineering College,
Kushalnagar-571 234
DECLARATION
We the members of the Internship team, studying in the Eighth semester of Electronics
declare that the entire Internship Training entitled “ Jarvis: A Virtual Voice Assistant for
Desktop Using Python” has been carried out under the guidance of Prof. Bhagyamma S,
This Internship Training has not been submitted previously for the award of any other
Date:
Place: Kushalnagar
1. Muskan 4GL18EC022
2. Nishmitha T S 4GL18EC026
3. Sudhakar Y B 4GL18EC041
i
ACKNOWLEDGMENT
The satisfaction that accompanies the successful completion of any task would be
incomplete without the mention of people who made it possible. We consider our
privilege to express the voice of gratitude and respect to all those who guided and
inspired us in completion of Internship Work.
We wish to express our gratitude to Dr. Seenappa, Principal, GEC, Kushalnagar, for
providing excellent working environment.
We are grateful to Dr. A L CHOODARATHNAKARA, HOD Dept. of ECE, GEC,
Kushalnagar, for allowing us to use the laboratory resources of the department to
complete Internship Work successfully.
We extend our heartfelt gratitude to our internship guide Prof. BHAGYAMMA S,
Associate Professor, Dept. of ECE, GEC, Kushalnagar, for her timely support and
suggestions.
We extend our earnest gratitude to our beloved faculty Prof. KARIBASAPPA R, Prof.
MANJUNATHA A, and Prof. DEVENDRAKUMAR S M for their moral support.
We also express our warm gratitude to our beloved faculty Prof. HAVYAS V B, Prof.
SUSHMA S, Prof. KAVYA K G, Prof. SANDHYA and the entire non-Teaching faculty.
We would like to thank our parents for their constant moral support throughout the
completion of this Internship Training. Finally, last but not the least we would like to
extend our deep sense of gratitude to our friends who always inspired us and encouraged
us throughout the completion this of this Internship Training Report.
1. Muskan
2. Nishmitha T S
3. Sudhakar Y B
4. Varsha Ravindran
ii
ABSTRACT
Python is an emerging language since so it becomes easy to write a script for Voice
Assistant in Python. Python is a widely used, object oriented and high-level
programing language. 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, Ok Google, Cortana. In
Python there is an API called Speech Recognition which allows us to convert speech
into text. Users can interact with the assistant through voice commands. This project
aims to develop a private assistant for Computer. Personal Assistants, or
conversational interfaces, or chat bots reinvent a new way for individuals to interact
with computes. As a personal assistant, it assists the end-user with day-to-day
activities like a general human conversation, Telling the current time, searching
queries from Wikipedia, opening Microsoft word, playing songs, opening YouTube
through voice. In this present situation, advancement in technologies is such that they
can perform any job with same effectiveness as human or can say more effectively
than human. Finding solution in few seconds. The software uses a device’s
microphone to receive voice requests while the output takes place at the system’s
speaker.
iii
Table of Contents
List of Figures v
List of Tables vi
1 Research Center Profile 01
1.1 Government Engineering College Kushalnagar 01
1.2 Infrastructure and Facilities 03
1.3 Electronics and Communication Research Center 05
1.4 Summary 06
6 Conclusion 20
Reference 21
iv
List of Figures
v
List of Tables
vi
Jarvis: A Virtual Voice Assistant for Desktop Using Python 2021-22
Chapter 1
(a) (b)
1.1.1 Vision
1.1.2 Mission
• To initiate and participate in community activities that will serve as avenue for
applying engineering knowledge for the benefit of the society.
1.1.3 Goals
• To provide a creative and the best possible education facility for studies, training,
research, development and innovations, extension of work relevance amongst the
students and faculty. Studies, training research, development and innovations,
provide creative and better education facilities for students and staff’s work ethic
expansion.
The college is provided with eShikshana network for administrative purposes and other
activities of the VTU. Many sports, cultural activities and workshops are conducted to
enhance students eligibility. Talent minute is conducted every day to expose the student’s
talents in cultural and sports field. Staffs for administration, teaching, laboratory and
library are present to support the students and college infrastructure.
1.2.1 Classrooms
The classrooms in the college retain their heritage look with the furniture’s. The
classrooms at GECK facilitate a blend of traditional and modern modes of teaching with
technological aids such as ceiling mounted projectors, roll down screens, green boards
and podium for the faculty.
1.2.2 Faculty
The faculty members are good and well qualified. The faculties are more supportive,
motivating and friendly. They also guide us very well for extracurricular activities. The
college has separated staff-rooms and these rooms provide the faculty with a peaceful and
comfortable place for their academic pursuits. The students have personal interaction with
the faculty on academic and extra-curricular activities
1.2.3 Library
The GECK library acts as a central knowledge center for the students and faculty of the
college and the collection of this knowledge center comprises of documents in
Engineering subjects (Civil, E&C, Mechanical and CS). Efforts are going on to provide
computerized library services. The Table 1.2 gives the details on library collection.
Sl No Courses No of Books
5. Science 536
TOTAL 2156
1.2.4 Scholarships
• Scholarship from The Department of Oppressed Backward Classes and
Minority and Taluk Panchayat for the students.
The college is good in sports activities. Every year the college holds sports competition,
inter branch matches and sports day. For proper training and grooming of players the
college provides coaching facilities to the players for different games. Students are
trained for NSS to develop among themselves a sense of social and civic responsibility.
Blood donation camp is conducted to serve the needy patients. Swachh Bharat classes are
conducted to promote cleanliness and hygiene.
Many sports, cultural activities and workshops are conducted to enhance student’s
eligibility. A standby power generator is provided to take care of the occasional power
shut down due to maintenance. Laboratories are open every time for the students to help
them to spend extra time to make use of the abundant information. Students are trained
for advanced documentation work and to do research in documentation techniques
continuously for sharpening them. Research in different fields specially in documentation
and knowledge organization. Students are involved in doing various projects every year
and some projects are also awarded by Karnataka State Council for Science and
Technology (KSCST).
(a) (b)
1.4 Summary
Being a part of this internship program, the opportunity to accumulate lot of information
in the field of MATLAB and Python, to some extent it has made access to seek some
practical knowledge. It is worth to mention that, the resource persons were very
informative. Moreover, attending this internship program was helpful to accumulate
theoretical knowledge with practical experiences.
Chapter 2
PREAMBLE
Artificial Intelligence when used with machines, it shows us the capability 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 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 Alexa, Siri, etc. In
Python there is an API called Speech Recognition 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.
As the voice assistant is using Artificial Intelligence hence the result that it is providing
are highly accurate and efficient. The assistant can help to reduce human effort and
consumes time while performing any task, they removed the concept of typing
completely and behave as another individual to whom we are talking and asking to
perform task. The assistant is no less than a human assistant but we can say that this is
more effective and efficient to perform any task. The libraries and packages used to make
this assistant focuses on the time complexities and reduces time.
The functionalities 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.
Each company-developer of the intelligent assistant implements his own specific methods
for development, which in turn affects the final output. One assistant can produce speech
more qualitatively, another can more neatly and without more explanations and
corrections do tasks, others are able to do a narrower range of tasks, but most accurately
and as the user demands. Surprisingly, there is no universal assistant who would do all
tasks equally well. People often spend more time on doing routine tasks, and they can be
automated with these types of personal assistants. When someone works in an
environment with which he/she is not familiar with, they often find it difficult to locate
applications that they need, like browser, any IDE or nay other software. Most of the
time, they will end up wasting hours of time, searching for the application alone. This
results in unnecessary time wastage. Therefore, a voice enabled personal assistant will
help automating this process. User is expected just to give a voice command, and the
assistant will take care of the rest.
These systems are constantly improving and improving, go beyond personal computers
and have already firmly established themselves in different mobile devices and gadgets.
The primary goal of this work is to build a local voice assistant that performs the work of
human and the daily task that a human needed to do in day-to-day life. It has some new
features like posting comments on the social media websites such as Facebook,
Instagram, etc. by just few simple commands. You can also know the weather around and
can get the climate conditions in your local region. It can open and launch web-
applications and the local storage of the user computer.
Chapter 3
Methodology
3.1 Introduction
In recent years, more innovative technologies were developed to ease our professional
lifestyle. We are building a PC Personal Assistant that works on voice commands and
executes the user query. Our project, PC Personal Assistant is built mainly using python.
The software uses a device’s microphone to accept voice requests while the output takes
place at the system’s speaker. It's a mixture of varied technologies: voice recognition,
voice analysis, and language processing. When a user asks an assistant to perform a task,
the natural language audio signal is converted into digital data which will be analyzed by
the software. Keywords are used to perform certain tasks. Keywords are defined for
particular tasks and if that word is present in your audio the actual tasks are going to be
performed. Tasks that our Pc assistant can perform are searching the information from
Wikipedia and reading the information, fetching top news from Times etc. Python also
provides various libraries for our help. Speech Recognition library is employed to
perform speech to text conversion. Wikipedia library is employed to urge information
from Wikipedia. pyttsx3 library is employed to perform the text to speech, etc. All the
tasks are within the textual form which is then converted into an audio signal.
3.2 Design
SPEECH VOICE
RECOGNITION ASSIST API calls
MODULE
PYTHON
BACKEND
TEXT TO
SPEECH
MODULE
The system is designed using the concept of Artificial Intelligence and with the help of
necessary packages of Python. Python provides many libraries and packages to perform
the tasks. The data in this project is nothing but user input, whatever the user says, the
assistant performs the task accordingly. The user input is nothing specific but the list of
tasks which a user wants to get performed in human language i.e., English.
The IDE used in this project is Jupyter Notebook. All the python files were created and
all the necessary packages were easily installable in this IDE. For this project following
modules and libraries were used i.e., pyttsx3, SpeechRecognition, Datetime, Wikipedia,
pywhatkit, pyjokes etc. The JARVIS as it gives a design and interesting look while
having the conversation.
3.3 Objectives of the work
The process of designing a virtual voice assistant with the help of speech recognition
module inorder to perform assigned task is divided into five basic categories. They are as
follows:
1. Speech Recognition Module: It is a python module which converts speech to
text. The similar text is then received and fed to the central processor. The speech
input Users can obtain texts from the special corpora organized on the pc server at
the data center from the microphone is temporarily stored within the system which
is then sent to Google cloud for speech recognition.
2. Python Backend: A python backend is simply server-side software written in
Python. The python backend gets the output from the speech recognition module
and then identifies whether the speech output is an API Call and Context
Extraction. The output is then sent back to the python backend to give the required
output to the user.
3. API calls: API stands for Application Programming Interface. An API is a
software medium that allows two applications to talk to each other. An API may
be a messenger that delivers your request to the provider that you’re requesting it
from and so delivers the response back to you
4. Content Extraction: Context extraction (CE) is that the task of automatically
extracting structured information from unstructured and/or semi-structured
machine-readable documents. In most 14 cases, this activity concerns processing
human language texts using language processing (NLP). 9 Recent activities in
Start
Thus The No
Command Matches
Continue to work
Yes
end
Figure 3.2: Methodology for Jarvis: A Virtual Voice Assistant for Desktop Using
Python
Chapter 4
Hardware requirements
Laptop or computer with at least 8 GB RAM.
Software Requirements
• Python 3.9.5
• Jupyter Notebook
• NLTK (Natural Language Tool Kit)
This section gives the explanation of the software used for programming in the project
(using Markdown), mathematics, plots and rich media, usually ending with the ".ipynb"
extension.
4.4.2. FUNCTIONS:
• takeCommand(): The function is used to take the command as input through
microphone of user and returns the output as string.
• wishMe(): This function greets the user according to the time like Good Morning,
Good Afternoon and Good Evening.
• taskExecution(): This is the function which contains all the necessary task
execution definition like Weather forecasting, news() and many conditions in if
condition like “open google”, “open youtube”, “search on Wikipedia” ,”play
music” and “open command prompt” etc.
Chapter 5
5.1 Results
The assistant, on starting, will initially wait for the input to be given from user. If the user
gives input command, via voice, the assistant will capture it, and searches for the
keyword present in the input command. If the assistant was able to find a key word, then
it will perform the task accordingly, and returns the output back to user, in voice. If not,
the assistant will again start waiting for the user to give input. Each of these
functionalities are having their own importance in the whole system working.
User Input - The assistant will wait for the user to give voice command for further
processing.
Introducing to user - The user who is asking assistant to introduce itself, will display the
following.
Reading out news - If the user asks the assistant to read out some news, the assistant will
display the new line by line and it will also read out the news.
YouTube searches - If the user asks the assistant to do some YouTube searches, the
assistant will do that. It will ask the user, what to search in YouTube. After receiving the
input, it will open the YouTube page with that respective search.
Web Searches - If the user asks the assistant to do some web searches, the assistant will
also do that. It will ask the user to search for what, and it will open the google search in a
new tab of browser.
Opening Applications - If the user asks the assistant to open an application, like MS
Word, or any other, the assistant will do so immediately. And also, it will speak that it
opens the application
5.2 CONCLUSION
Voice assistants are useful in many fields such as education, daily life application, home
appliances, etc. The voice assistant is also useful for illiterate people they can get any
information just by saying to the assistant. It is automated with various services using a
single line command. It eases most of the tasks of the user like searching the web,
retrieving weather forecast details, accessing YouTube videos, and reading out news with
the advancements in technology, particularly in Artificial Intelligence, we can extend the
scope of this project with Home Automation. In future they will evolve the way people do
business around the web and will ultimately integrate world class e-business.
References
1. Zagade, Y. S., Gaikwad, P. M., Chavan, A. N., & S.P, M. G. (2021). ADVANCED
VOICE ASSISTANT BASED ON ARTIFICIAL INTELLIGENCE. International
Research Journal of Modernization in Engineering Technology and Science, 1849-
1851.
2. Sakharkar1, A., Tondawalkar, S., Thombare, P., & Sonawane, R. (2021). Python
Based AI Assistant for Computer. International Research Journal of Engineering and
Technology (IRJET), 3686-3688.
3. Geetha, V., Gomathy, C., Vardhan, K. M., & Kumar, N. P. (2021). The Voice
Enabled Personal Assistant for Pc. International Journal of Engineering and
Advanced Technology (IJEAT), 10, 162-165.
4. Vora, J., Yadav, D., Jain, R., & Gupta, J. (2021). JARVIS: A PC Voice Assistant.
International Journal of Advance Study and Research Work , 4, (2581-5997).
INTERNSHIP ASSOCIATES