Skip to content

Rayhchs/Face-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Recognition

This repository contains code and resources for performing face recognition tasks using various algorithms and models.

Features

  • Face detection: Detecting faces in images or video streams.
  • Face alignment: Aligning faces to a standardized pose for accurate recognition.
  • Face recognition: Recognizing and identifying individuals based on their faces.

Installation

  1. Clone the repository:

    git https://github.com/Rayhchs/Face-recognition.git
    cd Face-recognition
  2. Download rest libraries

  • sqlite3

    sudo apt install sqlite3
    sudo apt install libsqlite3-dev
  • yaml-cpp

see https://github.com/jbeder/yaml-cpp for more

Usage

make create_folder
make
./main
  • press 'r' to register a face
  • press 'i' to identify a face from database
  • press 'q' to quit

Models

  • Detection model, ./models/Det.tflite is Blazeface which is converted from pretrain model of blazeface.
  • Recognition model, ./models/Rec.tflite is MobileFaceNet converted from pretrain model of FaceX-zoo.

Recognition model can be changed to any kind of tflite model. However, Detection model cannot.

Acknowledge

Code and model heavily borrows from zineos_blazeface and FaceX-zoo. Thanks for the excellent work!

About

Face recognition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published