A simple, modern and scalable facial recognition based attendance system built with Python back-end & Angular front-end.
- Windows or Linux (macOS not officially supported, but might work)
- Nvidia CUDA (optional - for nvidia gpus)
- CMake
- Visual Studio Build Tools
- Miniconda for Python v3.7+
- Node.js LTS v12.8.3+ (npm v6.14.6+)
- Angular CLI v10.1.2+
Install all dependencies using conda package manager
Note: This will install the dependencies listed in
environments.ymlfile
$ cd backend
$ conda env create -f environment.ymlNow you can activate this environment using the following command
Note: You can run the app only if this environment is activated
$ conda activate attendance-systemInstall all dependencies using npm package manager
Note: This will install the dependencies listed in
package.jsonfile
$ cd frontend
$ npm installFollow these steps to run the app in command line interface mode
- Activate the
attendance-systemconda environment - Launch
run_cli.pyfrom the backend directory
$ cd backend
$ conda activate attendance-system
$ python run_cli.pyStart the Flask Web Server
- Rename
.env.examplefile to.env - Activate the
attendance-systemconda environment - Launch
run.pyfrom the backend directory
Note: This will start a flask web server listening on
http://localhost:5000
$ cd backend
$ conda activate attendance-system
$ python run.pyLaunch the Angular Web Application
Note: This will launch angular web app in browser @
http://localhost:4200
$ cd frontend
$ ng serve -oContributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!