face-recognition-auth-reactjs
face-recognition-auth-reactjs copied to clipboard
A simple authentication web page with face recognition and face verification.
face-recognition-auth-reactjs
A simple authentication page with face recognition and face verification built with ReactJS and Face-api.js.
Demo
Features
- Face recognition and verification (Login/Register)
- Similarity Test Widget
- Matching Test Widget
Minor features:
- Comparison between different pre-trained neural networks.
- Computation of Euclidean distance and Manhattan distance on
Labeled Faces in the Wilddataset. - Evaluation of false positive and false negative matching.
- Encryption/decryption of biometric data.
System Requirements
- NODE.JS (tested on v14.19.3)
- NPM
- MongoDB
Installation
git clone [email protected]:albertovalerio/face-recognition-auth-reactjs.git
Install frontend dependencies
cd ~/path/to/your/face-recognition-auth-reactjs/frontend_app
npm install
npm start
Install backend dependencies
cd ~/path/to/your/face-recognition-auth-reactjs/backend_app
npm install
npm run dev
Configure .env file
cp .env.example .env
API_PORT=3001
FRONTEND_URL='http://localhost:3000'
MONGO_URI='mongodb+srv://<USERNAME>:<PASSWORD>@cluster0.bckok.mongodb.net/<DATABASE_NAME>?retryWrites=true&w=majority'
TOKEN_KEY='...' (used by JWT, recommended 50/60 chars)
PRIVATE_KEY='...' (used by Bcrypt, must be of 32 chars)
Contact
My name is Alberto G. Valerio and this project has been realized by me as university laboratory activity for the exam in Models and Methods for Application Security, Master Degree in Computer Science, curriculum studies in Artificial Intelligence at University of Bari "Aldo Moro", Italy.
My email - [email protected]
My website: https://albertovalerio.com
Acknowledgments
License
Distributed under the MIT License. See LICENSE.txt for more information.