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.
yarnCreate .env file and modify values as required
cp .env.example .envyarn startyarn buildNavigate to model folder and follow instructions below.
python3 -m venv env
source ./env/bin/activate
pip install -r requirements.txtCreate .env file and modify values as required
cp .env.example .envFLASK_APP=api.py flask run