All Projects â†’ abhiksark â†’ Face-Recognition-FaceNet

abhiksark / Face-Recognition-FaceNet

Licence: GPL-3.0 license
A python script label faces in group photos using Facenet. 🎉

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Face-Recognition-FaceNet

Face
I have published my face related codes in this repository
Stars: ✭ 53 (+152.38%)
Mutual labels:  facenet, face-alignment, mtcnn
Flame Fitting
Example code for the FLAME 3D head model. The code demonstrates how to sample 3D heads from the model, fit the model to 3D keypoints and 3D scans.
Stars: ✭ 269 (+1180.95%)
Mutual labels:  face, face-alignment
Facenet-Caffe
facenet recognition and retrieve by using hnswlib and flask, convert tensorflow model to caffe
Stars: ✭ 30 (+42.86%)
Mutual labels:  face, facenet
Face-Recognition-Jetson-Nano
Recognize 2000+ faces on your Jetson Nano with database auto-fill and anti-spoofing
Stars: ✭ 63 (+200%)
Mutual labels:  mtcnn, mtcnn-face-detection
FaceNet-IOT
IOT implementation for FaceNet project by David Sandberg https://github.com/davidsandberg/facenet
Stars: ✭ 18 (-14.29%)
Mutual labels:  face, facenet
multi-task-learning
Multi-task learning smile detection, age and gender classification on GENKI4k, IMDB-Wiki dataset.
Stars: ✭ 154 (+633.33%)
Mutual labels:  face, mtcnn
FaceIDLight
A lightweight face-recognition toolbox and pipeline based on tensorflow-lite
Stars: ✭ 17 (-19.05%)
Mutual labels:  face, mtcnn
facenet mtcnn tensorflow inference engine
This is a modified and simplified inference engine of davidsandberg's facenet
Stars: ✭ 41 (+95.24%)
Mutual labels:  facenet, mtcnn
Mtcnn
face detection and alignment with mtcnn
Stars: ✭ 66 (+214.29%)
Mutual labels:  face, mtcnn
Mtcnn
MTCNN face detection implementation for TensorFlow, as a PIP package.
Stars: ✭ 1,689 (+7942.86%)
Mutual labels:  face, mtcnn
Mdm
A TensorFlow implementation of the Mnemonic Descent Method.
Stars: ✭ 120 (+471.43%)
Mutual labels:  face, face-alignment
android mtcnn insightface face recognize
detect face with mtcnn and embedder with insightface
Stars: ✭ 64 (+204.76%)
Mutual labels:  face, mtcnn
Nearest-Celebrity-Face
Tensorflow Implementation of FaceNet: A Unified Embedding for Face Recognition and Clustering to find the celebrity whose face matches the closest to yours.
Stars: ✭ 30 (+42.86%)
Mutual labels:  face, facenet
DeepVTB
🌌 OpenVTuber-č™šæ‹Ÿã‚ĸイドãƒĢå…ąäēĢčŽĄåˆ’ An application of real-time face and gaze analyzation via deep nerual networks.
Stars: ✭ 32 (+52.38%)
Mutual labels:  face, face-alignment
Facenet
Face recognition using Tensorflow
Stars: ✭ 12,189 (+57942.86%)
Mutual labels:  facenet, mtcnn
Face Track Detect Extract
💎 Detect , track and extract the optimal face in multi-target faces (exclude side face and select the optimal face).
Stars: ✭ 434 (+1966.67%)
Mutual labels:  face, mtcnn
Face Dataset
Face related datasets
Stars: ✭ 204 (+871.43%)
Mutual labels:  face, face-alignment
FaceNet-based-Attendance-System
Deep Learning based Web Application for marking attendance of students by recognizing the student's faces from the surveillance video footage of classroom.
Stars: ✭ 25 (+19.05%)
Mutual labels:  facenet, mtcnn
Face Pose Net
Estimate 3D face pose (6DoF) or 11 parameters of 3x4 projection matrix by a Convolutional Neural Network
Stars: ✭ 464 (+2109.52%)
Mutual labels:  face, face-alignment
Tf flame
Tensorflow framework for the FLAME 3D head model. The code demonstrates how to sample 3D heads from the model, fit the model to 2D or 3D keypoints, and how to generate textured head meshes from Images.
Stars: ✭ 193 (+819.05%)
Mutual labels:  face, face-alignment

Inspiration

Dependencies

Install the dependencies first for running the code.

Pre-trained models

Face alignment using MTCNN

How to use

  • First, we need align face data. So, if you need to run the script 'raw_faces_to_aligned_faces.py' first, the face data that is aligned in the 'faces/group_photos' folder will be saved.

  • Secord, we will cluster the same photos together by running the clustering_faces.py and delete the noise manually and combine the clustered faces again using combine_cluster_folder.py

  • Third, we need to create our own classifier with the face data we created. First we will rename the folder name with the name of the person.
    (In the case of me, I had a high recognition rate when I made 30 pictures for each person.) Your own classifier is a ~.pkl file that loads the previously mentioned pre-trained model ('20170511-185253.pb') and embeds the face for each person.All of these can be obtained by running 'making_classifier.py'.

  • Finally, we load our own 'my_classifier.pkl' obtained above and then open the sensor and start recognition by running labeling_faces.py


(Note that, look carefully at the paths of files and folders in all .py)

Result

Directory Strcuture

├── 20170511-185253
│   ├── 20170511-185253.pb 
│   ├── model-20170511-185253.ckpt-80000.data-00000-of-00001
│   ├── model-20170511-185253.ckpt-80000.index
│   └── model-20170511-185253.meta
├── cls
│   └── my_classifier.pkl
├── data
│   ├── det1.npy
│   ├── det2.npy
│   └── det3.npy
├── faces
│   └── aligned photos atomatically generated from raw_photos
├── labelled_faces
│   └── folder cointaining name of that person
├── raw_faces
│   └── Add your group photos here
├── face_recognition
│   ├── __init__.py
│   ├── detect_face.py
│   ├── model_management.py
│   └── facenet.py
├── raw_faces_to_aligned_faces.py
├── making_classifier.py
├── ModelManagement.py
├── labeling_faces.py
├── detect_face.py
├── facenet.py
├── classifying_static_image.py
├── clustering_faces.py
├── combine_cluster_folder.py

Development

Want to contribute? Great! Contribute using PR Contact me in LinkedIn!

License

Creative Commons License
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].