Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Face Recognition System Using Haarcascade and OpenCV

This is a simple face recognition project built with Python and OpenCV. It uses the Haarcascade classifier for face detection and the Local Binary Patterns Histograms (LBPH) recognizer for identifying faces.


πŸ“ Project Structure

  • create_data.py – Captures and stores 120 face images of a user from different angles using a webcam.
  • face_recognize.py – Trains the recognizer on the stored images and performs real-time face recognition.
  • haarcascade_frontalface_default.xml – The pre-trained Haarcascade model used for face detection.
  • datasets/ – Directory where user face data is stored.

πŸ”§ Setup

Requirements

  • Python 3.x
  • OpenCV (cv2)
  • NumPy

Install dependencies:

pip install opencv-python numpy

About

Implementing a haar - cascade model to detect faces and label them on a live display.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages