Skip to content

Face Recognition using KNN algorithm and open cv for python

Notifications You must be signed in to change notification settings

SamakshSingh/Facial-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Facial-Recognition

Face Recognition using KNN algorithm and open cv for python

Steps

  • Run face_capture.py on the command line.The script will open a camera window.Stand in front of the camera until recording of the face is completed.
  • The default file where the features are stored is face_01.npy. You can change the file name if you want to store information of many persons.It stores data in a numpy matrix.
  • Open the face_recog.py file and edit your name in the dictionary value corresponding to the number in which your face was stored i.e. for face_01,add your name to '0' value in the names dictionary.
  • Run the face_recognition.py file!

About

Face Recognition using KNN algorithm and open cv for python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages