This repository provides a simple and effective implementation of face detection using the Haar Cascade classifier in Python with OpenCV. Additionally, it includes optional enhancements for face recognition and demonstrates the detection of faces.
Haar Cascade is a machine learning-based object detection algorithm used to identify objects (e.g., faces) in an image or video based on pre-trained features. This project leverages OpenCV's implementation of Haar Cascade to detect and optionally recognize faces in real-time.
Clone this repository:
git clone https://github.com/Laasyakshara25/face-recogniton-opencv.git
cd face-detect.py
Below is an example of detected faces using Haar Cascade:
Below is an example of recognized faces: