https://github.com/shivam1808/face-detection-and-identification
Detect and Identify faces using Python
https://github.com/shivam1808/face-detection-and-identification
face-detection face-recognition opencv pickle python
Last synced: 7 months ago
JSON representation
Detect and Identify faces using Python
- Host: GitHub
- URL: https://github.com/shivam1808/face-detection-and-identification
- Owner: shivam1808
- Created: 2019-07-21T07:00:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-28T17:54:30.000Z (about 6 years ago)
- Last Synced: 2025-01-16T19:51:35.511Z (9 months ago)
- Topics: face-detection, face-recognition, opencv, pickle, python
- Language: Python
- Homepage:
- Size: 1.88 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Face-Detection-and-Identification
Detect and Identify faces using Python with the help of some libraries provided by python i.e., opencv2, pillow, pickle etc.
Download the database for images :
https://drive.google.com/open?id=1Z2njbjPumD84iFTfl58V8GhNTi_q9EV7
In this project, you will learn how to use OpenCV to perform face recognition. To build our face recognition system, we’ll first perform face detection, extract face from the frame, train a face recognition model, and then finally recognize faces in both images and video streams with OpenCV.
# Project structure
Once you’ve grabbed the zip from the “Downloads” section of this post, go ahead and unzip the archive and navigate into the directory.Here are quite a few moving parts for this project — take the time now to carefully read this section so you become familiar with all the files in today’s project.
Our project has two directories and four files in the root folder:
cascades/ : Contains harcasscade file.
images/ : Contains several test images that we’ll use to verify the operation of our model.How to use:
Step 1: Input images in the images folder.
Step 2: Run Face-Train.py file to create trainer for new images and labels.pickle file.
Step 3: Run Face_Recognition.py file.