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.
Navigate to webapp
folder and follow instructions below.
yarn
Create .env
file and modify values as required
cp .env.example .env
yarn start
yarn build
Navigate to model
folder and follow instructions below.
python3 -m venv env
source ./env/bin/activate
pip install -r requirements.txt
Create .env
file and modify values as required
cp .env.example .env
FLASK_APP=api.py flask run