- Preferably use python3.8 and set up a virtual environment using the command:
python3 -m venv <venv name>
source <venv name>/bin/activate
-
Clone the project
-
Run in terminal the following command:
pip3 install -r requirements.txt
- Django inbuilt sqlite3 is used to store data and attendance of user.
- Encrypted Password is stored in the students data table.
- face_recognition and openCV module is used for computer vision.
- Captured photo is being processed in the form of base64 with the help of webcam.js library API being offered by soundflare which is then decoded in python
-
There's a case where the api key being used to access webcam.js through soundflare be expired. In such a scenario, replace it with a fresh API Key through this website https://cdnjs.com/libraries/webcamjs
-
Don't forget to make migrations.
-
Don't forget to activate venv before running
python3 manage.py runserver
- This is the homepage of the website.
- This page accepts 3 parameters, Roll No., Password, Face. If the face and password to the corresponding roll number is correct, it then proceeds to a confirmation page which results in the marking of attendance on that date.
- This page is used to register a new student in the database.
- This page offers a dropdown of dates among which the user chooses one. All the present students on that date is displayed in a table.