Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robertanto/open-set-one-shot-face-recognition
This repository contains the python implementation of a Face Recognition systems working with just ONE image for each face to recognize. The system works in an open-set configuration, it means that it is able to reject not known people.
https://github.com/robertanto/open-set-one-shot-face-recognition
Last synced: about 4 hours ago
JSON representation
This repository contains the python implementation of a Face Recognition systems working with just ONE image for each face to recognize. The system works in an open-set configuration, it means that it is able to reject not known people.
- Host: GitHub
- URL: https://github.com/robertanto/open-set-one-shot-face-recognition
- Owner: robertanto
- Created: 2021-05-16T09:01:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-10T11:26:19.000Z (about 2 years ago)
- Last Synced: 2024-11-11T06:05:46.397Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 504 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Open-Set One-Shot Face-Recognition
This repository contains the python implementation of a Face Recognition system working with just ONE image for each face to recognize. The system works in an open-set configuration, it means that it is able to reject not known people.
## Getting started
Execute the following commands to setup you project.
```bash
git clone https://github.com/robertanto/Open-Set-One-Shot-Face-Recognition.git
cd Open-Set-One-Shot-Face-Recognition
wget https://github.com/robertanto/Open-Set-One-Shot-Face-Recognition/releases/download/final/weights.zip
unzip weights.zip
rm weights.zip
pip3 install -r requirements.txt
```At this point move your identities pictures in the `face_identies` folder. The images have to be in one of the following extensions: `.jpg`,`.jpeg`,`.png`. The file name will be used as identity ("Bob.jpg -> Bob").
## Compute the face embeddings
This project stores in a pickle file the face embedding of the identities to recognize.
To compute the face embeddings run the following command:
```bash
python3 ./prep_face_embeddings.py
```## Demo
To execute the demo run the following command:
```bash
python3 ./oneshot_face_recognition.py
```