Skip to content
No description, website, or topics provided.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cascade
dialogs
images
mainWin
Logger.py
README.md
compute_encodings.py
main.py
recognize_from_video.py
requirements.txt

README.md

Face Recognizer

alt MainWindow

The program demonstrates the three most known face detection algorithms :

and a Deep Metric Learning based face recognition algorithm.

The project is based on face_recognition library which wraps DLib facial detection\recognition functionality. It is implemented based on this great article

Dependencies

  • Dlib
  • PyQt5
  • OpenCV-Python
  • imutils
  • Face Recognition

Installation

From the top directory run pip install -r requirements.txt to install required packages.

Usage

  1. To define the known people's set put the images according to the following structure:
├── root
│   ├── person_1
│   │   ├── 1.jpg
│   │   ├── 2.jpg
│   │   ├── ...
│   │   ├── n.jpg
│   ├── person_2
│   │   ├── 1.jpg
│   │   ├── 2.jpg
│   │   ├── ...
│   │   ├── n.jpg
│   ├── ...
│   ├── person_n
│   │   ├── 1.jpg
│   │   ├── 2.jpg
│   │   ├── ...
│   │   ├── n.jpg

the directory names will be used as person names.

  1. Choose the detection method, click Select Dataset Directory, select the root directory of the images.
  2. Click Create List to create the list of known people.
  3. Choose one of the input options from Input Options section. The detection/recognition process will be started after providing valid input.
  4. You can change the detection method and adjust detection/recognition parameters at runtime.
You can’t perform that action at this time.