Skip to content

Take attendance of your employees and students with Machine Learning

License

Notifications You must be signed in to change notification settings

Rutulpatel7077/Attendance-with-Deep-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attendance-with-Deep-Learning

Take attendance of your employees and students with Machine Learning

Install

You can use any face_recognization algorithm here.. but I used this. pip3 install face_recognition

You can do same things in Raspberry pi

Use

Train the model by feeding images. ( One Image per person is enough to get 99% accuracy )


# Load a second sample picture and learn how to recognize it.


biden_image = face_recognition.load_image_file("rutul.jpg")
biden_face_encoding = face_recognition.face_encodings(biden_image)[0]

mark_image = face_recognition.load_image_file("mark.jpg")
mark_face_encoding = face_recognition.face_encodings(mark_image)[0]

barry_image = face_recognition.load_image_file("barry.jpg")
barry_face_encoding = face_recognition.face_encodings(barry_image)[0]

venus_image = face_recognition.load_image_file("venus.jpg")
venus_face_encoding = face_recognition.face_encodings(venus_image)[0]

#Label your inputs 
known_face_encodings = [
    obama_face_encoding,
    biden_face_encoding,
    mark_face_encoding,
    barry_face_encoding,
    venus_face_encoding
]
known_face_names = [
    "Barack Obama",
    "Rutul Patel",
    "Mark Yaraskavitch",
    "Barry Morwood",
    "Venus Vavadiya",
]

Get the results

You can get all the attendance result in this array

# At the end just print this to the one file if you want..

all_time_faces_names = []


About

Take attendance of your employees and students with Machine Learning

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages