Skip to content

SARATH-ANSIL/Face_detection_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

"""

Face Recognition Project

This project implements face recognition using the face_recognition library in Python and OpenCV. The goal is to identify known faces from a set of unknown images using pre-trained facial encodings.

Features

  • Identifies faces in images by comparing them with a set of known images.
  • Draws bounding boxes around detected faces and labels them with the person's name.
  • Uses face_recognition library to compute face encodings and compare them.
  • Integrates OpenCV for image processing and displaying results.

Prerequisites

  • Python 3.x
  • The following Python libraries must be installed:
    • face_recognition
    • opencv-python
    • numpy

You can install the dependencies using:

pip install face_recognition opencv-python numpy
# Project Structure 
├── known/              # Folder containing images of known people
│   ├── elon.jpg        # Example image for Elon Musk
│   ├── bill.jpg        # Example image for Bill Gates
│   └── obama.jpg       # Example image for Barack Obama
├── unknown/            # Folder containing images of unknown people
│   ├── 1.jpg
│   ├── 2.jpg
│   └── 3.jpg
├── face_recognition.py  # Main Python script to run the face recognition
└── README.md           # Project README file

About

This project implements face recognition using the `face_recognition` library in Python and OpenCV. The goal is to identify known faces from a set of unknown images using pre-trained facial encodings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors