How musadiqpasha/face_recognition works
Project type and purpose
• This is a standalone Python desktop application (an open-source tool) that uses OpenCV for face detection/recognition and manages attendance records.
• Purpose: allow users to register faces, scan live webcam feeds for recognition, store face images, and record attendance in a CSV.
File structure
• Top-level files:
• Attendance.csv – the persistent attendance log (storage)
• Face Recognition.py (or attandance.py) – main application logic & GUI
• requirements.txt – Python dependencies (OpenCV, pandas, tkinter, face_recognition, etc.)
• README.md, LICENSE – project documentation
• Directories:
• ImagesAttendance – stores registered face images (input to recognition)
• only_name – example images used or reference assets
• other_files/Attendance.txt – auxiliary records (legacy or backup)
README for additional insights
• Describes two main user flows:
a. Registering a new face via GUI (“Add a new face”) → captures and saves one high-quality image in ImagesAttendance
b. Scanning via live webcam (“Scan Face (Webcam)”) → detects faces in real time, compares against registered images, and logs attendance to Attendance.csv
• Additional GUI features: “Delete a face” (batch delete from storage), “Open Attendance” (view CSV as table)
• Key dependencies: OpenCV for image capture & processing, face_recognition library (dlib) for encoding & matching, a GUI toolkit (tkinter or PySimpleGUI), pandas or CSV module for log management