Student attendance management system for the browser using face recognition on video input from user's webcam with face-api.js by @justadudewhohacks (JavaScript face recognition API for the browser and nodejs implemented on top of tensorflow.js core, more details can be found here https://github.com/justadudewhohacks/face-api.js/) This is a HTML, CSS, vanilla Javascript, and Python web development project.
You can test SAMS with images of Harry, Hermione, and Ron from Harry Potter, or by putting your own photos in.
To test SAMS, git clone the repository and cd into the repository folder.
For Windows Powershell:
venv\Scripts\activate
python server.py
$env:FLASK_APP = "server.py"
flask run
An error that may occur is running scripts is disabled on this system
.
Open Windows PowerShell with administrator privileges by pressing Windows+R to open Run, and then type “powershell” in the text box. Next, press Ctrl+Shift+Enter.
In Powershell administrator, type
Set-ExecutionPolicy RemoteSigned
Updates in Version 2:
- Added a Python Flask server
- Added a pop-up display option to view attendance log, including student name and time when attendance was taken
- And other minor updates
Upcoming updates to this project:
Next Update:
- Deploy the application on PythonAnywhere
- Add option to cancel instead of "Confirm Attendance"
- Log-in and log-out features, if student already took attendance, next detection will mean the student logs out.
- Set up other pages (Home, About)
(Much) Later Updates:
- Admin can manage student database, register student and upload photos via the application, able to remove students as well
- Admin able to manually take attendance for a student, given a password