Skip to content

Shaiksultan54/FaceDectation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏷️ Face Recognition System using OpenCV & Face_Recognition πŸ“Œ Overview This project implements a face recognition system using OpenCV and the face_recognition library. It compares two images to check if they belong to the same person by encoding facial features and calculating similarity scores.

βœ… Key Features:

Detects and recognizes faces in images

Uses HOG-based feature extraction for encoding

Measures similarity using face distance and face matching

Displays bounding boxes around detected faces

Outputs the recognition result and confidence score

πŸ› οΈ Tech Stack Python 3.x 🐍

OpenCV (for image processing)

face_recognition (for face encoding & matching)

NumPy (for numerical operations)

πŸ“‚ Installation & Setup πŸ”§ Prerequisites Make sure you have Python installed. Then, install the required dependencies:

pip install opencv-python pip install face-recognition pip install numpy πŸ“₯ Clone the Repository

git clone https://github.com/your-username/Face-Recognition.git cd Face-Recognition πŸš€ Run the Script python face_recognition.py πŸ“Έ How It Works Load & Convert Images: The script loads the images and converts them to RGB format.

Detect & Encode Faces: It detects faces and extracts facial encodings.

Compare Faces: The script compares the test image with the reference image.

Display Results: It shows the images with bounding boxes and prints the recognition result.

πŸ“Š Output Displays the reference image and test image with bounding boxes

Prints match result (True/False) and face distance score

Annotates the test image with the result

Example output:

[True] [0.38] (Lower face distance = better match)

πŸ† Future Improvements πŸ”Ή Implement live face recognition using webcam πŸ”Ή Optimize for multiple face comparisons πŸ”Ή Add a database for storing recognized faces

🀝 Contributing Contributions are welcome! Feel free to fork, modify, and submit a pull request.

πŸ“œ License This project is open-source and available under the MIT License.

πŸ“¬ sultan541790@gmail.com

🌐 GitHub: github.com/your-username

About

da seekers project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages