-
Notifications
You must be signed in to change notification settings - Fork 0
/
GUI.py
41 lines (28 loc) · 1.17 KB
/
GUI.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
from tkinter import *
from PIL import ImageTk
def login_page():
gui_window.destroy()
import signIn
def signup_page():
gui_window.destroy()
import signup
gui_window = Tk()
gui_window.geometry('1080x580')
gui_window.resizable(False, False)
gui_window.title('Face Recognition And Attendance System')
bgImage = ImageTk.PhotoImage(file='C:/Users/Lokesh T/PycharmProject/face/GUI main/main gui.jpg')
bgLabel = Label(gui_window, image=bgImage)
bgLabel.place(x=0, y=0)
upPic = ImageTk.PhotoImage(file='C:/Users/Lokesh T/PycharmProject/face/GUI main/signup.jpg')
askButton = Button(gui_window, image=upPic, command=signup_page)
askButton.place(x=664, y=165)
inPic = ImageTk.PhotoImage(file='C:/Users/Lokesh T/PycharmProject/face/GUI main/login.jpg')
ask2Button = Button(gui_window, image=inPic, command=login_page)
ask2Button.place(x=664, y=300)
heading = Label(gui_window, text='---- Click Here To SignUp', font=('Times New Roman', 19, 'bold')
, bg='white')
heading.place(x=774, y=185)
heading2 = Label(gui_window, text='---- Click Here To Login', font=('Times New Roman', 19, 'bold')
, bg='white')
heading2.place(x=774, y=320)
gui_window.mainloop()