All Projects → vinayakarannil → Face_Recognition

vinayakarannil / Face_Recognition

Licence: other
<NOT ACTIVELY MAINTAINED>A light weight face recognition implementation using a pre-trained facenet model

Programming Languages

python
139335 projects - #7 most used programming language
matlab
3953 projects
HTML
75241 projects

Projects that are alternatives of or similar to Face Recognition

clockon-clockoff-face-recognition
Face Recognize application. Using FaceNet and CoreML
Stars: ✭ 21 (-80.19%)
Mutual labels:  face-recognition, face-detection, facenet-trained-models
Facepapercollection
A collection of face related papers
Stars: ✭ 241 (+127.36%)
Mutual labels:  face-recognition, face-detection
deep utils
An open-source toolkit which is full of handy functions, including the most used models and utilities for deep-learning practitioners!
Stars: ✭ 73 (-31.13%)
Mutual labels:  face-recognition, face-detection
FaceRecognitionCpp
Large input size REAL-TIME Face Detector on Cpp. It can also support face verification using MobileFaceNet+Arcface with real-time inference. 480P Over 30FPS on CPU
Stars: ✭ 40 (-62.26%)
Mutual labels:  face-recognition, face-detection
Ownphotos
Self hosted alternative to Google Photos
Stars: ✭ 2,587 (+2340.57%)
Mutual labels:  face-recognition, face-detection
Facerecognition
Nextcloud app that implement a basic facial recognition system.
Stars: ✭ 226 (+113.21%)
Mutual labels:  face-recognition, face-detection
Face-Recognition
A Java application for Face Recognition under expressions, occlusions and pose variations.
Stars: ✭ 55 (-48.11%)
Mutual labels:  face-recognition, face-detection
Viewfacecore
C# 超简单的人脸识别库。
Stars: ✭ 193 (+82.08%)
Mutual labels:  face-recognition, face-detection
Face-Recognition-Raspberry-Pi-64-bits
Recognize 2000+ faces on your Raspberry Pi 4 with database auto-fill and anti-spoofing
Stars: ✭ 48 (-54.72%)
Mutual labels:  face-recognition, face-detection
Detect-Facial-Features
Code example demonstrating how to detect eyes, nose, lips, and jaw with dlib, OpenCV, and Python
Stars: ✭ 42 (-60.38%)
Mutual labels:  face-recognition, face-detection
FaceRecog
Realtime Facial recognition system using Siamese neural network
Stars: ✭ 47 (-55.66%)
Mutual labels:  face-recognition, face-detection
Face.evolve.pytorch
🔥🔥High-Performance Face Recognition Library on PaddlePaddle & PyTorch🔥🔥
Stars: ✭ 2,719 (+2465.09%)
Mutual labels:  face-recognition, face-detection
Arcface Multiplex Recognition
适用于复杂场景的人脸识别身份认证系统
Stars: ✭ 200 (+88.68%)
Mutual labels:  face-recognition, face-detection
ViewFaceCore
C# 超简单的离线人脸识别库。( 基于 SeetaFace6 )
Stars: ✭ 345 (+225.47%)
Mutual labels:  face-recognition, face-detection
Marvel
Marvel - Face Recognition With Android & OpenCV
Stars: ✭ 199 (+87.74%)
Mutual labels:  face-recognition, face-detection
Awesome Face recognition
papers about Face Detection; Face Alignment; Face Recognition && Face Identification && Face Verification && Face Representation; Face Reconstruction; Face Tracking; Face Super-Resolution && Face Deblurring; Face Generation && Face Synthesis; Face Transfer; Face Anti-Spoofing; Face Retrieval;
Stars: ✭ 3,220 (+2937.74%)
Mutual labels:  face-recognition, face-detection
Face-Recognition-Attendance-System
Face Detection | Recognition | Attendance
Stars: ✭ 289 (+172.64%)
Mutual labels:  face-recognition, face-detection
Opencv Course
Learn OpenCV in 4 Hours - Code used in my Python and OpenCV course on freeCodeCamp.
Stars: ✭ 185 (+74.53%)
Mutual labels:  face-recognition, face-detection
Hms Ml Demo
HMS ML Demo provides an example of integrating Huawei ML Kit service into applications. This example demonstrates how to integrate services provided by ML Kit, such as face detection, text recognition, image segmentation, asr, and tts.
Stars: ✭ 187 (+76.42%)
Mutual labels:  face-recognition, face-detection
DeepFaceRecognition
Face Recognition with Transfer Learning
Stars: ✭ 16 (-84.91%)
Mutual labels:  face-recognition, face-detection

Face Recognition

[NOT ACTIVELY MAINTAINED] A light weight face recognition implementation using a pre-trained facenet model. Most of the code is taken from David Sandberg's facenet repository.

Steps to follow:

  1. Make the following changes : In lib/src/create_face_embeddings.py replace the data and pb file paths by your owns (you can also optionally turn on your GPU : with tf.Session(config=tf.ConfigProto(device_count={'GPU': 0})) as sess: ) In server/rest-server.py modify the paths

  2. Create a dataset of faces for each person and arrange them in below order

root folder  
│
└───Person 1
│   │───IMG1
│   │───IMG2
│   │   ....
└───Person 2
|   │───IMG1
|   │───IMG2
|   |   ....
  1. Align the faces using MTCNN or dllib. Please use the scripts available in lib/src/align. For this project i aligned faces using MTCNN.(Please have a look at aligning faces if you need any clarifications)

[Before alignment] [After alignment]

  1. Download pre-trained-weight ,extract and keep it in lib/src/ckpt folder (for detailed info about availabe weights: available-weights)
  2. Create face embeddings using pre-trained facenet model. Run the below scripts by changing the folder paths.(edit paths in lines)
  python lib/src/create_face_embeddings.py 

Once you run the script succesfully, a pickle file with name face_embeddings.pickle will be generated inside lib/src folder

  1. Start the server by running the command
  python server/rest-server.py

access the UI using url https://127.0.0.1:5000. It will show a button with face recognition as label. Once you click on it, automatically your primary camera will get turned on and start recognizing the faces.

sample result

alt text

for more information, please go through my blog

NOTE: The faces are identified using retrievel method, instead if you have enough data, you can train a classifier on top of face embeddings (Train-a-classifier-on-own-images)

References:

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].