Top AI Repos โ open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A simple implementation of facial recognition using facenets for humans ๐ง ๐
| Date | Stars |
|---|---|
| 2026-07-24 | 290 |
| 2026-07-25 | 290 |
| 2026-07-28 | 290 |
| 2026-07-30 | 290 |
| 2026-08-06 | 290 |
Today
โ stars today
This week
โ stars this week
This month
โ stars this month
Momentum
0.0
growth rate 0.00%/day
# Facial Recognition ๐ง ๐
[](https://github.com/akshaybahadur21/Facial-Recognition-using-Facenet/blob/master/LICENSE.txt) [](https://akshaybahadur.com)
This code helps in facial recognition using facenets (https://arxiv.org/pdf/1503.03832.pdf). The concept of facenets was originally presented in a research paper.
The main concepts talked about triplet loss function to compare images of different person.
This concept uses inception network which has been taken from source and fr_utils.py is taken from deeplearning.ai for reference.
I have added several functionalities of my own for providing stability and better detection.
## Code Requirements ๐ฆ
You can install Conda for python which resolves all the dependencies for machine learning.
`pip install requirements.txt`
## Description ๐ต๏ธโโ๏ธ
A facial recognition system is a technology capable of identifying or verifying a person from a digital image or a video frame from a video source. There are multiples methods in which facial recognition systems work, but in general, they work by comparing selected facial features from given image with faces within a database.
## Functionalities added ๐ง
1) Detecting face only when your eyes are opened. (Security measure)
2) Using face align functionality from dlib to predict effectively while live streaming.
## Python Implementation ๐จโ๐ฌ
1) Network Used- Inception Network
2) Original Paper - Facenet by Google
If you face any problem, kindly raise an issue
## File Organization ๐๏ธ
```shell
โโโ Facial-Recognition-using-Facenet (Current Directory)
โโโ models : Saved Models
โโโ face-rec_Google.h5 : Facenet Model
โโโ shape_predictor_68_face_landmarks.dat : Facial Keypoints Model
โโโ utils : Utils Folder
โโโ fr_utils.py
โโโ inception_blocks_v2.py
โโโ create_face.py : Store the faces for module
โโโ rec-feat.py - Main Application
โโโ Train-inception.py : Model Trainer
โโโ LICENSE
โโโ requirements.txt
โโโ readme.md
```
## Setup ๐ฅ๏ธ
1) If you want to train the network , run `Train-inception.py`, however you don't need to do that since I have already trained the model and saved it as
`face-rec_Google.h5` file which gets loaded at runtime.
2) Now you need to have images in your database. The code check `/images` folder for that. You can either paste your pictures there or you can click it using web cam.
For doing that, run `create-face.py` the images get stored in `/incept` folder. You have to manually paste them in `/images folder`
3) Run `rec-feat.py` for running the application.
## Execution ๐
```
python3 rec-feat.py
```
## Results ๐
<img src="https://github.com/akshaybahadur21/BLOB/blob/master/Face-Rec.gif">
###### Made with โค๏ธ and ๐ฆ by Akshay Bahadur
## ๐ Cite Us
To cite this guide, use the below format:
```
@article{Facial-Recognition-using-Facenet,
author = {Bahadur, Akshay},
journal = {https://github.com/akshaybahadur21/Facial-Recognition-using-Facenet},
month = {01},
title = {{Facial-Recognition-using-Facenet}},
year = {2018}
}
```
## References ๐ฑ
- Florian Schroff, Dmitry Kalenichenko, James Philbin (2015). [FaceNet: A Unified Embedding for Face Recognition and Clustering](https://arxiv.org/pdf/1503.03832.pdf)
- Yaniv Taigman, Ming Yang, Marc'Aurelio Ranzato, Lior Wolf (2014). [DeepFace: Closing the gap to human-level performance in face verification](https://research.fb.com/wp-content/uploads/2016/11/deepface-closing-the-gap-to-human-level-performance-in-face-verification.pdf)
- The pretrained model we use is inspired by Victor Sy Wang's implementation and was loaded using his code: https://github.com/iwantooxxoox/Keras-OpenFace.
- Our implementation also took a lot of inspiration from the official FaceNet github repository: https://github.com/davidsandberg/facenet
Excerpt of 4,005 characters
Read on GitHubWould you bet a product on this? Bounded 0โ100 and slow moving.
matched fp:590790ef2fb62913, topic:computer-vision, readme:face recognition
matched fp:590790ef2fb62913, topic:deep-learning