Skip to content

This repository contains my face recognition project, built using Python. I used libraries like face_recognition, OpenCV, and others to detect and recognize faces in real-time. The project demonstrates face detection, encoding, and recognition with image and video input. It's a practical application of computer vision and machine learning concepts.

Notifications You must be signed in to change notification settings

Asit-14/Face-Recognition-project

Repository files navigation

🧑‍💻 Face-Recognition-Project

Owner Avatar

Welcome to the Face Recognition Project — a real-time face recognition solution built with Python, OpenCV, and the face_recognition library.
Identify faces from live video feeds and images with speed and accuracy.


🗂️ Repository Structure

Face-Recognition-project/
├── 📁 .venv
├── 📁 Age estimation
├── 📄 .gitignore
├── 🖼️ Asit picture.jpg
├── 🖼️ Dheeraj picture.png
├── 📄 Project Synopsis.docx
├── 📄 README.md
├── 🖼️ Sharaddha.jpg
├── 🖼️ Tamanna.jpeg
├── 🎬 Video Demo.mp4
├── 📦 dlib-19.19.0-cp38-cp38-win_amd64.whl
├── 🖼️ face reco.jpg
├── 📄 face.pptx
├── 🐍 face.py
├── 🖼️ shahid.jpg
├── 🖼️ virat.png

🧠 Project Overview

This project provides a Python script for real-time face recognition.
The script captures video from your camera, detects faces, and matches them against known images.

Key Features:

  • 🚀 Dynamic Loading: Load any number of facial images for identification.
  • 🎥 Real-Time Recognition: Identify faces in live video feeds.
  • 👥 Multiple Person Support: Distinguish between multiple known faces.
  • 🧑 Age Estimation: (See Age estimation/ for details.)

⚙️ Installation Guide (Windows)

1️⃣ Install Python

Download and install Python 3.8 (or later) from python.org.

python --version

2️⃣ Create a Virtual Environment

python -m venv venv

3️⃣ Install dlib and cmake

Run Command Prompt as administrator, navigate to your project folder, and install the wheel:

pip install dlib-19.19.0-cp38-cp38-win_amd64.whl
pip install cmake

4️⃣ Upgrade pip (if necessary)

pip install --upgrade pip

5️⃣ Install Face Recognition

pip install face-recognition

6️⃣ Install OpenCV

pip install opencv-python

🏃‍♂️ Running the Project

  1. Place all known face images in the project folder.

  2. In the script, specify paths to each image and assign names.

  3. Run the script:

    python face.py
  4. Press q to end the video broadcast.


🔧 Configuration

  • Adjust the tolerance parameter in compare_faces to improve recognition accuracy.

🤝 Contributions & Permissions

  • We welcome your contributions!
    Open pull requests and issues to help make this project better.
  • For licensing details, see LICENSE.
  • This project is released under the MIT License.

📬 Contact

Feel free to reach out via GitHub Issues for questions or suggestions.

Owner: Asit-14


Happy coding & stay recognized! 😃

About

This repository contains my face recognition project, built using Python. I used libraries like face_recognition, OpenCV, and others to detect and recognize faces in real-time. The project demonstrates face detection, encoding, and recognition with image and video input. It's a practical application of computer vision and machine learning concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages