Skip to content

Commit 0de9d24

Browse files
authored
Add files via upload
1 parent 1fe5ece commit 0de9d24

File tree

5 files changed

+134
-0
lines changed

5 files changed

+134
-0
lines changed

Attendance.csv

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Name, Time
2+
KRISH NAIK,10:39:11
3+
SHIVAM,10:42:00
4+
SHIVAM,10:42:00
5+
SHIVAM,10:42:02
6+
SHIVAM,10:42:02
7+
SHIVAM,10:42:05
8+
SHIVAM,10:42:05
9+
SHIVAM,10:42:06
10+
SHIVAM,10:42:06
11+
SHIVAM,10:42:08
12+
SHIVAM,10:42:08
13+
SHIVAM,10:42:10
14+
SHIVAM,10:42:10
15+
SHIVAM,10:42:11
16+
SHIVAM,10:42:11
17+
SHIVAM,10:42:12
18+
SHIVAM,10:42:12
19+
SHIVAM,10:42:22
20+
SHIVAM,10:42:22
21+
SHIVAM,10:42:23
22+
SHIVAM,10:42:23
23+
SHIVAM,10:42:25
24+
SHIVAM,10:42:25
25+
SHIVAM,10:42:47
26+
SHIVAM,10:42:47
27+
SHIVAM,10:42:48
28+
SHIVAM,10:42:48
29+
SHIVAM,10:42:49
30+
SHIVAM,10:42:49
31+
SHIVAM,10:42:51
32+
SHIVAM,10:42:51
33+
SHIVAM,10:42:52
34+
SHIVAM,10:42:52

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Face-Recognition-Attendance-system
2+
3+
![face 1](https://github.com/theshivamsk/Face-Recognition-Attendance-system/assets/165746109/90e2194f-6db7-4533-ba5f-a3b8b30aaa54)
4+
5+
6+
![face 2](https://github.com/theshivamsk/Face-Recognition-Attendance-system/assets/165746109/1fc0dac8-9ca7-449c-b705-20b6dd113249)
7+
8+
Connect us for any college projects
9+
10+
DM for any error or queries - https://www.instagram.com/techoverflows

main.py

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
import tkinter as tk
2+
from tkinter import messagebox
3+
4+
# Function to calculate the distribution
5+
def calculate_distribution():
6+
try:
7+
salary = float(entry_salary.get())
8+
expenses = salary * 0.50
9+
savings = salary * 0.20
10+
investments = salary * 0.20
11+
discretionary_spending = salary * 0.10
12+
13+
result.set(f"Expenses: ${expenses:.2f}\n\n"
14+
f"Savings: ${savings:.2f}\n\n"
15+
f"Investments: ${investments:.2f}\n\n"
16+
f"Discretionary Spending: ${discretionary_spending:.2f}")
17+
except ValueError:
18+
messagebox.showerror("Invalid Input", "Please enter a valid number for the salary.")
19+
20+
21+
# Create the main window
22+
root = tk.Tk()
23+
root.title("Money Manager")
24+
root.geometry("400x600")
25+
root.resizable(False, False)
26+
root.configure(bg='#E7CEFF')
27+
28+
#Logo
29+
logo =tk.PhotoImage(file="logo.png")
30+
tk.Label(root,image=logo,bg="#E7CEFF").place(x=115,y=2)
31+
32+
#heading
33+
heading=tk.Label(root,text="Money Manager",
34+
font='arial 20 bold',fg="#9B50DE",
35+
bg="#E7CEFF")
36+
heading.place(x=100,y=195)
37+
38+
# Create and place the widgets
39+
label_salary = tk.Label(root, text="Enter your salary:",
40+
bg='#E7CEFF',
41+
font='arial 12 bold')
42+
label_salary.place(x=130, y=260)
43+
44+
entry_salary = tk.Entry(root,width=17,font='arial 11 bold')
45+
entry_salary.place(x=130, y=290)
46+
47+
button_organize = tk.Button(root, text="Organize",
48+
command=calculate_distribution,
49+
width=11,
50+
cursor='hand2', bg="#FFAA00", bd=0,
51+
activebackground='#ED8051',
52+
font='arial 14 bold')
53+
button_organize.place(x=132, y=340)
54+
55+
result = tk.StringVar()
56+
label_result = tk.Label(root, textvariable=result, justify="left",
57+
font='arial 11 bold',bg="#E7CEFF",fg='#9B50DE')
58+
label_result.place(x=120, y=400)
59+
60+
insta_page=tk.Label(root,text="@pythonagham",bg='#E7CEFF',
61+
fg='black',font='arial 10 bold italic')
62+
insta_page.place(x=155,y=560)
63+
64+
# Run the application
65+
root.mainloop()

medha.jpg

35.6 KB
Loading

requirements.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
certifi==2020.6.20
2+
chardet==3.0.4
3+
click==7.1.2
4+
cmake==3.18.2.post1
5+
decorator==4.4.2
6+
dlib==19.18.0
7+
face-recognition==1.3.0
8+
face-recognition-models==0.3.0
9+
idna==2.10
10+
imageio==2.9.0
11+
imageio-ffmpeg==0.4.2
12+
moviepy==1.0.3
13+
numpy==1.18.4
14+
opencv-python==4.4.0.46
15+
Pillow==8.0.1
16+
proglog==0.1.9
17+
requests==2.24.0
18+
tqdm==4.51.0
19+
urllib3==1.25.11
20+
wincertstore==0.2
21+
22+
#pip install opencv-python
23+
#pip install cmake==3.18.2.post1
24+
#pip install https://github.com/Murtaza-Saeed/dlib/raw/master/dlib-19.22.1-cp39-cp39-win_amd64.whl
25+
#pip install face-recognition==1.3.0

0 commit comments

Comments
 (0)