Skip to content

Uses webcam to authenticate a user to web application. Written in React.js & Python

Notifications You must be signed in to change notification settings

AlejandroEsquivel/FacialID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FaceID

Demo image

Trivial implementation of a facial recognition authentication system using dimensionality reduction technique PCA ("Eigenfaces") and computing face similarities using Euclidean Distance.

Note: This approach is very sensitive to lighting conditions, and should not be used for production authentication systems due to many vunerabilities associated with authenticating using a still 2D image and limitations of this approach.

Frontend (React)

Navigate to webapp folder and follow instructions below.

Set up

Install dependencies

yarn

Configuration

Create .env file and modify values as required

cp .env.example .env

Run Dev Server

yarn start

Build Production Assets

yarn build

Backend (Python)

Navigate to model folder and follow instructions below.

Set up

Install dependencies

python3 -m venv env
source ./env/bin/activate

pip install -r requirements.txt

Configuration

Create .env file and modify values as required

cp .env.example .env

Run Server

FLASK_APP=api.py flask run

About

Uses webcam to authenticate a user to web application. Written in React.js & Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published