smart attendance system using face recognition | Save Attendance into excel sheet

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so before start the actual project explanation I request to Please Subscribe my channel so you can see on the screen up till now I have uploaded more than 66 video on Raspberry Pi the Raspberry Pi with iot that is all this video then I'll also iot with Arduino all this video are 26 and recently we started the new series on the pick my controller before that I also cover the project on the python web application so if you want to Learn Python iot Raspberry Pi Arduino Peak from the scratch and from uh freely then please subscribe my Channel please support me and the most important part is whatever the code I have explained whatever the project I have created on this YouTube channel all this project are freely available you no need to pay anything for this project so just if only point is you should watch complete video and you should follow my process so if you want to learn something from the scratch and freely then support me and please subscribe my channel and please click on like button hello friend in today's session we will learn how we can design and develop a smart attendance system project by using face recognition technique so you can see on the screen the continuously my face is recognized also my name is display here based on my face so if any other person come also there then it will detect other person face and it will give their attendance and to store the attendance we will use the Excel file this is authentic Excel file so in the Excel file whatever the our attendance data that will be stored here and you can easily identify that detail by opening this file so I will show you what exactly happen after let's say first person attendance taken and second person attendance taken so I will close this program now because my attention is taken so I will go here and then I will open this Excel set so in this Excel sheet you can say Marathi is the lecturer name and you can see Rahul and they are present and on which date so exactly which date which lecture and it is present or absent so if the name is present so name if the name is there in this Excel set that means that person is present on on that date and time if the name is not there that means that person is absent now I will show you how to run this project with another person [Music] now we will see how to run this Pro now we will see the demonstration of this project so you can see I open this artender system Excel so here currently you can see there is no lecturer name is available so temporary lecture name is available and another name is not available so this is our starting point so whenever you get this project from my site delete whatever the lecture name here and only there should be the temp lecturer name should be available this name other lecturer name you can delete at your end so this program I will give you at the end of this video so after that you have to go to the video this space recognition code video this complete all this file I will provide you in the Google traveling the Google traveling given the description then after that you have to open that file so how to open the file I will show you so first go to the python python 3.9 3.8 or 3.7 you can use in your laptop then go to the file then click on this open button so once you click on this open up button go to that downloaded folder so let's assume uh this is your downloaded folder and here you will get this file face recognition code file so open that file so once you open that file I will tell you this setting later but first check how to run this project so just go to the run and run model so wait for some two to three minutes so it will ask the lecturer name first now it is asking the lecturer name so I will give the lecture name as English so this is my lecture name and press enter so once you press enter Then camera start recognizing your image so you can see Rahul and attendance taken so our attendance taken here and next student it is it is asking for the next student so now next person will be sit in front of camera and detect his name also attendance so I will call the next person to show you the demonstration first so you can see once the next person also present there then here her name also display here and attendance taken so after two person name uh as my database two percent is there only so I will close this program stop this program now so once I stop this program because 200 is taken as per my database then I will open this attendance Excel sheet now after that you can see here English name is there and Rahul presents now present so in this way you can run your project now I will tell you some basic setting about this project so that you can run this project at your end [Music] okay now now we will say some basic settings to start this project at your end first of all you require the python software in your end at mind I am using python 3.9.6 but if you are facing some error for a python 3.9 3.9.6 then you can use the python 3.8 or python 3.7 that also okay for you then after that uh next important part you require my files uh so my files I already told you you will find all this code file this smart attendance system file all this code file in Google driving that Google driving you in the description then after that you can see once you open the program you will find some CO2 library numpy library OS Library uh some XLT Library workbook Library so how to install that Library face recognition Library so how to install face recognition CB2 and numpy that already explained my previous video face recognition video I will give you that video link in the description so if you don't have the face recognition CB2 and numpy librarian here in your laptop so how to install that Library I already explained my this video protease simulation smart door lock system video so in that video I use the same program little bit same program but the related Library all are same numpy face recognition and CV2 so how to install that Library if you don't have please watch that video this video link I will given in the description or else you can just search on the internet you will find them any solution how to install this library then I after that you require this Library this Library this Library so how to install that Library I just save the screenshot in my this folder itself that I share with you so you can see there are some face recognition not found index error so like this there are some errors are there like this also like this also for example this is a XLT Library not found so if you if you face this error then you can just open your CMD from here it's gonna command prompt from here and after that you can type I3 install whatever the library so same way what if you face any error in any Library you can just open a CMD you can see xlrd this is new library here is the error Excel did not found so what I did I just opened the command prompt and type pipe3 install that Library name that's it only so whenever you find any error in any Library The Simple Solution is open command prompt and just type 3 install that Library name for example here also you can see x 0 t s something library is there so if this Library not found then Pi 3 install that Library name so this is The Simple Solution so just open the command prompt here from here just open the command prompt and just type pipe three and that Library name whatever the library you did not found so this is the same simple and easy solution if you find that Library error another error you will find uh let's say if your face is not properly available in your in your image then this index error you will get So to avoid that error the phase should be very clear you can see as per my database my face is very clear so you can see here so my face is very clear here also another person faces very clear so you can see so make sure your face should be very clear your light condition should be very clear otherwise you will get index out of range error so these are some basic settings now another setting we will see now the next point is uh we have to load this Library like your what we can send database so how to capture the image I will just show you so first offer I will delete my current image you can see I will delete from here so there is no Rahul image here so what you can do you have to first you should first go to this program capture image from camera so again open the python from here just go to the file open then after that capture image from camera open this one so once you open this one just go to run and run model so wait for some second it will ask the person name now we can see it is asking the person name so I will give my name Rahul so whatever the name you will give that name will be present in the image so press enter so once you give Rahul press enter then at the bottom you will see the image is captured so if this image is not clear just click on this cross button again New Image is capture again click on Cross button address yourself so that it will detect the face properly so you can see now it is detecting my face properly I will adjust my camera again now you can see it is the yeah now it is detecting my face properly now I will close this program by clicking this shell button so close this program click on OK so once you click on ok now once you close this window then you will find your uh images here so this is one database of one person you can see Rahul the name is coming Rahul uh you can verify the name Raul image now after you get the for a first person image and first person name then open this code which one phase recognition code and in that you can see current folder whatever the name you have given just type that person name here like this role raul.png so this is nothing but your image name so you can see this is Rahul right click here property so you will get travel dot PNG so this is the first person image so I have given the first person likewise you can take the image from the second person from that code this code then you will get the second image and in the second image you will provide the second image name here like this you see where is it then after that the first person name person name one I will give Rahul here second person name you can give whatever your person name here snare so here you have to change and here you have to change as per your person database that's it only then after that save it to video capture here I am giving one because I am using the USB camera if you are using the laptop camera then you can give here 0. now I am using the USB camera so that I am using one year so that's it only same here in the capture image if you are using the USB camera then if you are using the laptop camera then you can use zero here if you are using the USB camera then you one year I am using the USB camera so that's one year so these are some basic setting so after that your database is ready with Rahul sneha Raul this is Rahul image this is so this is two person then after that attend an Excel so just open this attendance Excel from here so once you open attendance Excel from here delete whatever the previous attendance so like this delete this so English I am deleting so this is and then write enter and Save close and save so this attendance again close without any subject name so these are some basic settings so I will just check if I miss anything so first you have to click the image from the uh code then you will get two image as per your 3 image to image whatever the image you want then as per that you can open this you can you can give as much as image here with as much as name and then you can change the person name here with if you want to add the new person also you can copy this code now let's assume that you want to add the person three so what you can do just copy this line image to first year view here and let's say here you can give image three so third person so same from the camera you will Capture One image and that image name you will give here let's say let's assume I capture the image and given the name person 3 so like this you can give any name here as per your image that we already taken from this two image so let third person we click the image and this third person name is here then after that you have to copy this code from year to year for for third person paste here then after that you can give the third person name like person three I am just giving temporary then after that person three here you can change version 3 here you mentioned person three here you can change ms3 here you can change image three so wherever image 2 I just change version 3 and then after that here you can give comma and then after that you can add the person 3 encoding like this and then after that here you again give the comma here and here you can give again person three simple in this way you can add as much as much as person whatever you want from this code so like this you can give any person I just deleting the extra person from my code I don't want that person okay so in this way you can add your database add the images whatever you want add the person add the person name like this so in this way you can do your basic setting now once you do the basic setting you just have to run this code so how to run this code just go to the run and click on run Modi so once you click on run module wait for some second it will ask the lecturer name and then after that I already explained you in demonstration video like how to add the new person then how to check the data how to check that in the system everything as per that demonstration so I hope I hope you understand this complete video the programming explanation I will not explain in the current video because I just want to take because I just want to take the feedback from your end whether this program working at your end or not if the program working at your end then you can tell me in the comment box then I will explain the face recognition code detail in detail with another with in another video so I am waiting for your feedback whether this code is working or not at your end and you will successfully find your attendance in this attender Excel sheet so yeah if you face any error then you can contact me in comment box or through the WhatsApp and I will definitely solve your issue thanks for watching this video I hope you understand the steps and how to install this project at your end if you like my content then click please click on like button and please subscribe my channel thanks for supporting
Info
Channel: Rahul Jadhav
Views: 34,427
Rating: undefined out of 5
Keywords: smart attendance system, smart attendance system using face recognition, smart attendance system project, smart attendance system using qr code, smart attendance system using face recognition in python, smart attendance system using python, smart attendance system using face recognition project, smart attendance system using deep learning, smart attendance using face recognition, smart attendance system in school, smart attendance system using arduino
Id: hTfTsImtRxA
Channel Id: undefined
Length: 16min 29sec (989 seconds)
Published: Sun Apr 16 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.