Skip to content

masumshahjunayed/Face-Recognition-

Repository files navigation

face-recognition

packages needed

  1. opencv
  2. numpy
  3. pillow

There are three steps for face recognition:

  1. Collecting face data (your face pictures) and labels and save to dataset folder. (code 1)
  2. Input face data and labels into model to train a recognition model. (code 2)
  3. Open up your webcam to start real time face recognition. (code 3)

Instructions:

  1. Download this repository as zip file and unzip it to a folder.

  2. Crate two empty folders named 'dataset' and 'trainer' in the above folder.

  1. Run the first code, enter number '1' (for first person), then computer will take your face pictures and save into 'dataset' folder. When finish taking pictures, "[INFO] Exiting Program and cleanup stuff" pops up.

(3.5. Run the first code again, enter number '2' (for second person), follow the same procedure.)

  1. Run the second code, just wait several seconds to train the model.

  2. Run the third code, it will open your camera and start real time face recognition.

  3. enjoy!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published