This is a web based facial log in/ Sign up website which uses Facial recognition for user authentication and this can be integrated with various websites or web applications.
This Project is based on FaceNet deep learning model and uses Flask server for running the Keras neural network model, and MongoDB used as database.
For running this project, we need to clone this repository and open in text editor ( vs code prefered )
we will be using seperate separate Virtual Python Environment for this project and required libraries will be installed in this environment only, using requirements.txt file. Dependencies can be installed using pip install requirements.txt
In app.py file, flask_secrete app.secret_key (random binary string) and unique MongoURI (to connect to database) are used.
After all configuration is done, project can be run using python wsgi.py
which will run project on localhost:5000
Clone this repo by git clone https://github.com/durgeshmeena/Face-Login_System.git
In root directry create .env
file containg
FLASK_SECRET=''
MONGO_URI='mongodb+srv://'
Run setup_venv.bat
file to create virtual environment and install required libraries
setup_venv.bat
or
manually create virtual enviroment using "python -m venv venv"
and download required libraries by "pip install -m requirements.txt"
Start project using batchfile
in cmd
open Command Prompt and run
run
or
python wsgi.py
this will run your project on localhost:5000
Now go to your browser and load http://localhost:5000/
------------------------------------------------- Screenshots ----------------------------------------------------------------