Attendance System with Face Recognition Technology. Built using Tensorflow, OpenCV, Flask Microframework.
Step-by-step to run locally:
- Fork or clone this repository.
- Rename the
.env.example
file, change to.env
and input all the configurations for admin and database. - Create a MySQL database where the database name should be the same as the one that has been written on the .env configuration file.
- Create a virtual environment.
- Activate the virtual environment.
- Install all packages required in the requirements.txt file by using
pip install -r requirements.txt
. - Migrate the table from migrations folder to the database by using
flask db upgrade
. - Run the seeder to seed the roles and admin by using
flask seed role
andflask seed admin
command. - To run it locally, use command
flask run
and you're good to go. - Access the website by opening http://127.0.0.1:5000 to open the attendance check-in and check-out feature. To access the admin side you need to open http://127.0.0.1:5000/admin.