This repository contains code for performing face detection on a video using both Haarcascade and YOLOv8 algorithms. The project aims to demonstrate the effectiveness of these two approaches in detecting faces in a video.
Face detection is a crucial task in computer vision with various applications ranging from security surveillance to facial recognition systems. In this project, we utilize two popular face detection algorithms:
- Haarcascade: A machine learning-based approach that detects objects in images or video based on a set of feature descriptors.
- YOLOv8: You Only Look Once (YOLO) is a state-of-the-art, real-time object detection system that achieves high accuracy with fast detection speed.
The aim of this project is to compare the performance of these two algorithms in detecting faces in a video.
test_video.mp4
- Clone the repository:
git clone https://github.com/SannketNikam/Face-Detection.git
- Navigate to the project directory:
cd Face-Detection
- Install the required dependencies:
pip install -r requirements.txt