Spooke's picture
Upload 5 files
f13361b verified

Face-Login

Face login using Open CV Python

This folder contains all the code and folders as well as files required to run this project

Prerequisites

Numpy
OpenCV
Pillow
Pandas

Installation

You can choose to install any environment either system, pipenv, anaconda etc
I used Visual Code and Python 3.6 and installed these using pip(Google gives more on this)

pip install opencv-python pip install opencv-contrib-python

pip install pillow

pip install pandas

pip install numpy

Running the test for Face login

  1. Create the same folders while testing or download entire project
  2. Run Readface.py to take some images of user for login, It asks for Name and Id in console
  3. Run Train.py, this will train all images taken and put in TrainData Folder
  4. Run Detectface.py to detect the face and Login, Console shows the login messages

Finally Face login is Successful and Unknow faces tried to login are stored in UnkownFaces folder
βœ”βœ”βœ”βœ”βœ”βœ”βœ”βœ”βœ”