Skip to content

Real-time face detection project using Python, OpenCV and mediapipe, providing efficient detection and visualization of faces in live video streams.

Notifications You must be signed in to change notification settings

CyberBoy-Mayank/face-detection-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

face-detection-project

This project implements a real-time face detection system using OpenCV and MediaPipe in Python. The solution leverages MediaPipe's face detection model for efficient and accurate identification of facial features, providing robust performance across various lighting conditions and angles. OpenCV is utilized for video capture and rendering, enabling seamless real-time processing and visualization.

Features

  • Real-Time Face Detection: Detects faces in real-time.
  • High Accuracy: Utilizes MediaPipe's advanced face detection model for precise facial feature identification.
  • Efficient Processing: Optimized for low-latency performance, suitable for live applications.

Installation

  1. Clone the repository:

    git clone https://github.com/CyberBoy-Mayank/face-detection-project.git
    cd face-detection-project
  2. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Run the main script:

    python main.py
  2. The script will start capturing video from your in-built webcam and display the detected faces in real-time.

Example Output

![Face Detection Example]

Benefits

  • High Precision: Accurate detection of facial features even in challenging conditions.
  • Real-Time Performance: Suitable for live applications such as video conferencing and security systems.
  • Easy Integration: Simple to integrate into larger projects and adaptable for various use cases.

Note:

  • I'm using Python Version: 3.10.2 for this project

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

About

Real-time face detection project using Python, OpenCV and mediapipe, providing efficient detection and visualization of faces in live video streams.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages