Jarvis Desktop Assistant With GUI Using Python
Introduction
Jarvis who was the private voice assistant of Iron man i.e. Tony Stark. It wont to control all machines and robots of Tony Stark, Iron man Suit. this is often on Voice Command, one such Voice Assistant which is male I even have created it named Jarvis and It works on my Voice Command, I even have been performing on this for an extended time, since I saw the Iron-man movie, since then i used to be collecting ideas and knowledge to form this,it was only for my computer.
In this post i will be able to tell you ways to form your own Jarvis Desktop Assistant with GUI.
I used Python programing language to create it.
So let’s examine the code of this desktop assistant
Module we need for this Desktop Assistant
- Espeak — if you are in linux based operating system. In windows you did not have to install this espeak
- Pyttsx3
- Tkinter
- Os
- PILRandom
- Time
- Webbrowser
- Subprocess
Command to install Modules
- Espeak — In Linux — sudo apt install espeak
- In windows — sapi5 is preinstalled
- Pyttsx3 — pip install pyttsx3
- Tkinter — pip install tkinter
- Os — preinstall
- PIL — pip install PIL
- Random — preinstall
- Time — preinstall
- Webbrowser — preinstall
- Subprocess — preinstall
For installing python programming language simple to have to click to this link given below -
Download Python from this link
Code For Jarvis Desktop Assistant
# /usr/bin/python3
import random
import tkinter # pip install tkinter
from tkinter import *
import datetime
import pyttsx3 # pip install pyttsx3
import os
import time
import subprocess
import webbrowser
from tkinter import _tkinter
from PIL import ImageTk,Image # pip install PIL
engine = pyttsx3.init()
# in windows
# engine = pyttsx3.init(‘sapi5’)
window = Tk()
window.configure(bg = “black”)
SET_WIDTH = 800
SET_HEIGHT = 700