Skip to content

r01shiva/Opencv-face-2

Repository files navigation

Opencv-face-2

Requirements python3 pip install opencv-python pip install opencv-contrib-python pip install numpy pip install Pillow pip install sqlite3

#1. run faces.py

It will ask for ID and Name of person which you want to add in database 

It will store face in grayscale in DataSet folder and add name and id in database.db it will add all faces so try to look one person at a time. you can delete face if it will add wrong.

#2. run trainer.py

it will train the trainer.

#3. run detector.py

it will detect you.

Extra Features :

# It will dectect unauthorised person and add its faces in Unauthorised folder you can check in that 
# it will add full picture when it dectect some unauthorised person in RecordPicture you can check in that
# so you can add or name them later or to add in your database

AddFaceOfUnauthMultiImage.py

# it can read all images from RecordPicture and show to you
and add face of unauthorised person only 
# it a program to read picture and detect its face authorised or not and add it's face in unathorised.
#you can add your own picture to use that feature in that folder 

AddUnauthorizedAddNamesSinglePicture.py

# it can read single image from SinglePicture folder and show to you
# you can add name and id of unauthorised person in cmd after click 'q'
# it will show you corresponding no. and you can give name and id.

MainLengthy.py

it contain all fetures of 
AddFaceOfUnauthMultiImage.py 
AddUnauthorizedAddNamesSinglePicture.py
simultaneusly.
it is buggy i am still working on it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages