This document discusses developing a virtual assistant using Python. It proposes an architecture that uses several Python libraries like Pyttsx3 for text-to-speech, speech recognition for voice input, datetime for time/date functions, and PyAutoGUI to automate tasks. The virtual assistant would allow users to get information from sources like Wikipedia, control applications, and get weather/news using minimal input devices. The goal is to create a customizable assistant that works across Windows versions to minimize physical interactions.
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 ratings0% found this document useful (0 votes)
67 views9 pages
Research Paper - VA
This document discusses developing a virtual assistant using Python. It proposes an architecture that uses several Python libraries like Pyttsx3 for text-to-speech, speech recognition for voice input, datetime for time/date functions, and PyAutoGUI to automate tasks. The virtual assistant would allow users to get information from sources like Wikipedia, control applications, and get weather/news using minimal input devices. The goal is to create a customizable assistant that works across Windows versions to minimize physical interactions.
Department of CSE, GL Bajaj Institute of Technology and Management, Greater
Noida, India
Abstract: Artificial intelligence is the core business of making intelligent
machines, especially computer programs. This is relevant to the well-known task of using computers to understand human intelligence. Artificial intelligence is generally classified as the study of computation that enables perception, reasoning, and action. This article provides an overview of the concept of a Windows-based personal assistant. The system is inspired by virtual assistants such as Cortana for Windows and Siri for iOS. We developed a voice assistant using python which allows the user to run various type of command in windows without interaction with keyboard. The main task of voice assistant is to minimize the use of input devices like keyboard, mouse etc. It will also reduce the hardware space and cost.
Normally, client necessities to arrangement requirements to check
physically deal with numerous for air terminal codes for close by air arrangements of utilizations to finish terminals and afterward check travel one task. For instance, a client destinations for tickets between attempting to make a movement blends of air terminals to arrive at the objective. There is need of a including the two people and AI. framework that can oversee errands Consistently guaranteeing strong easily. quality control methodologies will likewise help make due the gamble of We as of now have different menial the remote helper learning undesired helpers. In any case, we scarcely use terrible ways of behaving. They it. There are number of individuals require enormous measure of data to who have issues in voice be taken care of for it to productively acknowledgment. These frameworks work. can figure out English expressions however, they neglect to perceive in our articulation. Our method of elocution is way particular from Menial helper ought to have the theirs. Likewise, they are not difficult option to show complex assignment to use on cell phones than work area conditions and utilize these models to frameworks. There is need of a virtual suggest streamlined plans for the right hand that can grasp English in client. It should be tried for seeing as Indian pronunciation and work on ideal ways when an undertaking has work area framework. different sub-errands and each sub- errand can have its own sub- At the point when a menial helper assignments. In such a case there can can't respond to questions precisely, be different answers for ways, and the this is on the grounds that it needs the considering user ought to be capable legitimate setting or doesn't figure out inclinations, other dynamic errands, the goal of the inquiry. Its capacity to needs to suggest a specific reply questions pertinently just occurs arrangement. with thorough advancement,
2. Literature Review
There are various virtual assistants on existing system of virtual assistants.
the market that use Artificial Many businesses have used dialogue Intelligence technology with the systems technology to establish Microsoft created Cortona as a various types of businesses. personal virtual assistant for Windows, iOS, and Android. Cortona Microsoft's Cortona for Windows and is only compatible with Windows 10 Espeak for Linux, Apple's Siri, and operating systems. It was published in Google Assistants for Android are 2015 for Windows 10. Cortona is an examples of Virtual Personal icon on the taskbar next to the search Assistants (VPAs) based on their bar in Windows 10, Cortona appears applications and areas such as Siri as an icon on the taskbar next to the was the first digital virtual assistant to search bar. To use the Cortona be placed on an Apple smartphone. It application, we must first configure it was debuted as a feature of the iPhone on our laptop or PC. It is simple to in 2011. The goal of the virtual search, but it takes longer to set up. It assistant was to include duties like takes a long time. It only works with sending text messages, making phone Windows 10 and above. It is calls, checking the weather, and ineffective for other Windows setting an alarm. It has evolved over versions or explorers, such as time to provide restaurant locations, Windows 7, 8, and so on. As a result, search the internet, and provide for other versions of Windows, we driving instructions. Microsoft strive to create a personal virtual created Cortona virtual assistants in assistant that can be accessed from 2014. Cortona uses the Bing search any Windows explorer, such as engine to conduct operations such as Windows 7,8,10. In this project, we answering inquiries for users, utilise Python as a programming establishing remainder, and so on. language and pycharm as a platform Google Assistant was introduced in to run our virtual assistant code. We 2016. It is mostly available for mobile create personal virtual assistants web phones and smart home devices. applications in the form of.exe files Google Assistants can be accessed via that can be easily installed on any chat on the Google Messaging app laptop or PC and used for viewing and via voice on the Google Smart datetimes, managing emails, playing Home Speaker. music, movies, opening apps, and so on. 3. System Architecture
i.Pyttsx3: Pyttsx3 is a Python library iii.PyAutoGUI: is a Python library
that provides a simple and that allows you to automate easy-to-use interface for tasks by simulating mouse converting text to speech. It movements, keyboard supports multiple speech presses,and other GUI engines, including eSpeak, interactions. It is useful for Festival, and Microsoft Speech tasks such as GUI testing, API (SAPI). The library allows automating repetitive tasks, or you to customize the properties controlling an application that of the speech, such as the rate, doesn't provide an API. volume, and voice iv. OS: The os module is a built-in ii.Speech Recognition: This is a Python library that provides a Python library for performing speech way to interact with the recognition, with support for several operating system. With the os speech recognition engines including module, you can perform Google Speech Recognition, Sphinx, various tasks such as file and and Wit.ai. directory operations, process management, and environment variables manipulation. viii.Wikipedia: The Wikipedia module is a Python library that v.Datetime: datetime is a Python permits clients to collaborate module that provides classes for with the Wikipedia working with dates, times, and time Programming interface and intervals. The datetime module concentrate data from contains four main classes: date, Wikipedia articles. With the time, datetime, and timedelta. Wikipedia module, you can look for articles, recover article vi.Pynput: Pynput is a Python synopses, and concentrate module for controlling and explicit areas or sentences from monitoring input devices such as articles. To utilize the keyboards and mice. It provides a Wikipedia module, you first simple interface for interacting with need to introduce it on your PC input devices, making it simple to utilizing pip. automate and handle numerous computer operations. ix. Webbrowser: Python has a built- in module called webbrowser that vii. pywhatkit: Pywhatkit is a allows you to control the web Python library that permits browser installed on your computer clients to mechanize a few and open web pages from within a undertakings on their PC Python script. utilizing Python code. A portion of the undertakings that x.Speedtest: speedtest-cli is a Python can be computerized utilizing package that allows you to test the Pywhatkit incorporate sending speed of your internet connection WhatsApp messages, looking from the command line. It works by for data on Google, playing connecting to a nearby server and YouTube recordings, measuring the upload and download producing QR codes, switching speeds. message over completely to manually written notes, and xi. Googletrans: Googletrans is a some more. Python library that uses the Google Translate API to xii. Playsound: Playsound is a provide easy access to machine Python library for playing translation capabilities. It audio files. It provides a simple allows developers to easily interface for playing WAV translate text from one files on Windows and Mac. language to another using Google's powerful translation engine.
xii. GTTS: GTTS stands for "Google
Text-to-Speech," which is a technology developed by Google that allows users to convert written text into spoken words.
4.Methodology
Fig: Working of Virtual Assistant
A microphone is utilised as an input is used as an output device to transmit
device for this programme to capture the output voice. This method user voice instructions, and a speaker incorporates several Implementation technologies, including language processing, speech recognition, and voice Listening analysis. Virtual assistants employ NLP to turn user text or voice command into Recognizing executable commands. When a user asks a personal virtual assistant to perform a task, Command printed = open Settings
natural language is used to transform voice
Open Settings impulses into digital signals.
Listening
Recognizing
Command printed = Close Settings
5.Result & Discussion Virtual The project will be useful for all assistants consume less time. A generations, as well as people with virtual assistant is software that certain disabilities or special recognizes spoken or written circumstances. The personal voice commands and performs tasks assistant will be easy to use and assigned by customers. Virtual reduce the human labour required to assistants use natural language perform various tasks. The processing (NLP) to match the user's functionality of the current voice voice or text input with executable assistant system is limited to commands. You can run your computer and online work (requires machine, like a laptop or desktop, on an internet connection to perform your own using a virtual assistant. tasks). Voice assistant systems are This is a quick process, which saves modular in nature so that new time. functionality can be added without interfering with current system Virtual assistants are there for you at functionality. specific times, so you can always use them and adapt quickly to changing needs. Virtual assistants will be at your service, as well as others such as family and colleagues if their workload allows.
6.Conclusion: In this report, we
discuss the purpose, method, and implementation details of a desktop personal voice assistant using Python built with the open-source software VSCode as the implementation tool. 7.References
1. Krishna, T. S. R. S. (2021). Virtual (2022), Desktop Voice Assistant,
Personal Assistant for Desktop Retrieved from Automation using Selenium. https://www.ijres.org/papers/Volu International Journal for Research me-10/Issue-2/Ser- in Applied Science and Engineering 3/C10021520.pdf Technology, 9(VI), 3261–3264. https://doi.org/10.22214/ijraset.202 4. Sharma, Y. K., & Sharma, N. 1.35798 (2018). A Review Paper on Smart Personal Assistant – IJERT. A 2. Anjali Fapal, Trupti Kanade, Review Paper on Smart Personal Bharati Janrao, Mrunalini Assistant – IJERT. Kamble,Megha Raule(2021), https://doi.org/10.17577/IJERTCO PERSONAL VIRTUAL NV4IS32016 ASSISTANT FOR WINDOWS USING PYTHON 5. I., Agrawal, H., Singh, N., Kumar, https://www.irjmets.com/uploadedf G., Yagyasen, D. D., & Vikram iles/paper/volume3/issue_7_july_2 Singh, M. S. (2021). Research Paper 021/14275/1628083554.pdf on Voice Assistant Using Python, Retrieved from 3. Vishal Kumar Dhanraj, https://ijirt.org/Article?manuscript= Lokeshkriplani,Semal Mahajan 152099