Skip to content

Face-Login project. This Project is based on facenet deep learning model, When a user wants to Signup it will click the photo of the user by the webcam, on which the model is trained. The user has to enter a unique username and email address on the page and the encodings of the image captured are mapped onto the username and stored in the databa…

Notifications You must be signed in to change notification settings

durgeshmeena/Face-Login_System

Repository files navigation

Face-Login System

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.

Setting up Tools and Libraries

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

To Run the project:

step 1 :

Clone this repo by git clone https://github.com/durgeshmeena/Face-Login_System.git

step 2 :

In root directry create .env file containg

  FLASK_SECRET=''
  MONGO_URI='mongodb+srv://'

step 3 :

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"

step 4 :

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/

That’s it, You have successfully run this project on your machine.



------------------------------------------------- Screenshots ----------------------------------------------------------------

Home Page


Sign Up Page


Login Page (face varification)


Login-Recog Page (face recognition)

login-recog page-1

Dashboard

dashboard page-1

User Authentication


About

Face-Login project. This Project is based on facenet deep learning model, When a user wants to Signup it will click the photo of the user by the webcam, on which the model is trained. The user has to enter a unique username and email address on the page and the encodings of the image captured are mapped onto the username and stored in the databa…

Topics

Resources

Stars

Watchers

Forks