/Real_Time_Face_Recognition

The Machine Learning Model detects the face of the person at real time and displays the name by enclosing the face in a square.

Primary LanguagePython

Real_Time_Face_Recognition

The Machine Learning Model detects the face of the person at real time and displays the name by enclosing the face in a square.

Requirements:

  1. Python

HOW TO GET IT TO WORK:

  1. Clone the repository.
  2. Open terminal.
  3. Navigate to the cloned repository.
  4. Run the command python "Crop the image and flatten in nparray.py"

  5. Press 'q' when done capturing the data.
  6. Run command python predict.py

  7. The Model predicts your name and positions a rectangle around your face.

Details:

The model usses haarcascade for face detection. Running the first file forms the dataset by capturing the image data of the person and saving it as a numpyarray. Second file predicts the name of the concerned user.