This Repository contain Code for Facial Recognition and Identification using Open CV and Python with tkinter GUI interface.
- Facial Recognition & Identification based attendance system”. Attendance of students in a large classroom is hard to be handled by the traditional system, as it is time-consuming and has a high probability of error during the process of inputting data into the computer, Our project proposed automated attendance marking system using face recognition technique. The system deployed Haar cascade classifier to find the positive and negative image of the face and LBPH (Local binary pattern histogram) algorithm for face recognition by using python programming and OpenCV library. Here we use the tkinter GUI interface for user interface purpose.
❌ pending phase - Updated soon
- Some Glimpse of our Results ✔️Recognize with ID, Name ,Roll, Department ✔️Recognize two faces in real time ✔️Recognize with picture on Phone ✔️it show Unknown face in red color, if face is not match
-
Attendance of students in a large classroom is hard to be handled by the traditional system, as it is time-consuming and has a high probability of error during the process of inputting data into the computer. Our project proposed automated attendance marking system using face recognition technique. RESULT: The system deployed Haar cascade classifier to find the positive and negative of the face and LBPH (Local binary pattern histogram) algorithm for face recognition by using python programming and OpenCV library. Here we use the tkinter GUI interface for user interface purpose. Firstly, our app asks to fill the details of the student you can click on the student details section of page and take image of the particular student. It takes 100 images as sample and store them in folder Training Image. After completion it notify that images trainig completed. After taking image sample we have to click Train Image button. Now it takes few seconds to train machine for the images that are taken by clicking Take Image button and creates a classifier.xml file and store in Photos section you can see your image on simple clicking on the photos section page. Now all initial setups are done. By clicking Track Image button camera of running machine is opened again. If face is recognized by system then Id, Name , roll number and department of person is shown on Image with green color. if face is not match then it show Unknown face in red color . Press exit button for quit this window. The attendance of the student was updated to the Excel sheet after student's face has been recognized you can simply click on the attendence section to import and export the data which you want .
Brief
-
Harrcascade - basically a machine learning approach , where cascade function used to train the both the positive and negative images after that using that image to detect other object.
-
LBPH(Local Binary Pattern Histogram) it is used to recognize the face of person.Its a simple yet very efficent texture operator which labels the pixels of an image by thresholding the neighborhood of each pixel and consider the result as a binary number.
- Python
- OpenCV
- Tkinter GUI
- MySQL
- VS CODE (IDE)
- Interactive Graphics user Interface
- Well planned students details section
- Well structured Attendence management section
- user friendly section to trained the data
- Quick and correct result after recognisation
- You can download the attendance in excel sheet
- Login/Sign Up
- Face Detector page
- Student Details page
- Train Data page
- Attendence page
- Photos page
✔️Facial recognition and identification(Home Page)
✔️Face Recognition(Face Detector Page)
✔️Student Management System(Student Details Page)
✔️Train your Dataset(Train Data Page)
✔️Import and Export your details (Attendance Page)
✔️Photos that you trained (Photo Section Page)
From the project folder, click these button in individual to run the test:
To run code:
1.Go to the section you want to run
2.Use shortcut Ctrl + Alt + N
or press F1 and then select/type Run Code,
or click the Run Code button in the editor title menu
or click Run Code button in the context menu of file explorer
from terminal
- cd to
facerecognisationsystem
- type in terminal
python yourfilename.py
Step by Step
1. search Python3.9
2. Right click -> open file location
3. Go to Lib Folder
4. Go to site-packages
5. open the cv2 folder
6. go on data
7. here you find harrcascade_fronatalface_default in XML
copy the file on your working folder and use it .
Feel free to open an issue on GitHub if you find any bug.
Feel free to Open an issue on GitHub to request any additional features you might need for your use case.
- Abhishek Rawe - Developer - Website
- Abhishek Rawe - Developer Who's the author of those contents - Abhishek Rawe
This software is open-source, licensed under the MIT License.