Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bniladridas/facerecognition

It captures video from a webcam, detects faces, and identifies them based on a database of known faces.
https://github.com/bniladridas/facerecognition

computer-vision face-recognition opencv python

Last synced: about 1 month ago
JSON representation

It captures video from a webcam, detects faces, and identifies them based on a database of known faces.

Awesome Lists containing this project

README

        

# 💠 Face Recognition with OpenCV and face_recognition

![OpenCV](https://img.shields.io/badge/-OpenCV-5C3EE8?style=flat-square&logo=opencv&logoColor=white)
![Face Recognition](https://img.shields.io/badge/-Face_Recognition-FF5733?style=flat-square&logo=python&logoColor=white)
![Python](https://img.shields.io/badge/-Python-3776AB?style=flat-square&logo=python&logoColor=white)
![HTML5](https://img.shields.io/badge/-HTML5-E34F26?style=flat-square&logo=html5&logoColor=white)
![CSS3](https://img.shields.io/badge/-CSS3-1572B6?style=flat-square&logo=css3&logoColor=white)

Elevating face recognition technology with **Python**, **OpenCV**, and **face_recognition** to seamlessly integrate **real-time detection** and recognition capabilities with your webcam.

---

## 🌟 Overview

This repository provides an extensible, user-friendly **Face Recognition** solution. Combining **OpenCV** for webcam integration and **face_recognition** for accurate facial recognition, the program detects and identifies faces on-the-fly.

---

## 🚀 Features

- 🎥 **Real-Time Recognition:** Detect and recognize faces in real-time through your webcam.
- 🛠️ **Effortless Setup:** Seamless integration with minimal configuration.
- 🧑‍🤝‍🧑 **Multi-Face Recognition:** Easily customizable to recognize multiple known faces.

---

## ⚙️ Prerequisites

Ensure these dependencies are installed to get started:

- **Python:** [Download Python](https://www.python.org/downloads/)
- **OpenCV:** Install using:
```bash
pip install opencv-python
```
- **face_recognition:** Install using:
```bash
pip install face_recognition
```

---

## 🛠️ Installation & Usage

1. **Clone the repository:**
```bash
git clone https://github.com/niladrridas/facerecognition.git
```

2. **Navigate to the project directory:**
```bash
cd facerecognition
```

3. **Run the script:**
```bash
python src.py
```

4. **Start detection:** Point your webcam at the desired area, and watch as faces are detected and recognized in real-time!

---

## 🔧 Configuration

- **Known Faces Customization:** Replace the sample image files with images of faces you want to recognize.
- **Advanced Settings:** Dive into the script for parameter tweaks and additional functionalities.

---

## 🌐 Use Cases

1. **Attendance System:**

- Automatically mark attendance by recognizing faces of employees or students.

2. **Security System:**

- Enhance security by allowing access only to recognized individuals.

3. **Photo Organization:**

- Automatically tag and organize photos based on recognized faces.

4. **Customer Analytics:**

- Analyze customer demographics and behavior in retail stores.

5. **Personalized User Experience:**

- Provide personalized content or services based on user recognition.

6. **Law Enforcement:**

- Assist law enforcement agencies in identifying suspects.

---

## 🎬 Preview

![Preview](https://raw.githubusercontent.com/niladrridas/facerecognition/refs/heads/main/preview.webp)

---

## 🤝 Contributing

Contributions make the magic happen! Whether you're fixing bugs, adding features, or suggesting improvements, you're welcome to submit issues or pull requests.

---

## 📝 License

This project is licensed under the **MIT License**. Check the [LICENSE](https://github.com/niladrridas/facerecognition/blob/main/LICENSE) file for more details.