Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

test

Face recognition demo

This repository provides a simple face recognition demo using free, modern deep learning models via facenet-pytorch. It uses:

  • MTCNN for face detection.
  • InceptionResnetV1 (VGGFace2 pretrained) for face embeddings.

Setup

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Run

Prepare a gallery directory with one image per person. The filename (without extension) becomes the label. Then run:

python face_recognition.py --gallery ./gallery --query ./query.jpg --threshold 0.6

If the cosine similarity is above the threshold, the script prints the best match.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages