All Projects → lehgtrung → face-search

lehgtrung / face-search

Licence: MIT license
A demonstration of face database search implemented in python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to face-search

Facepapercollection
A collection of face related papers
Stars: ✭ 241 (+569.44%)
Mutual labels:  face-recognition
Instant-Face-Unlock
Xposed Module's InstantFaceUnlock Code
Stars: ✭ 23 (-36.11%)
Mutual labels:  face-recognition
Face-Recognition-Attendance-System
Face Detection | Recognition | Attendance
Stars: ✭ 289 (+702.78%)
Mutual labels:  face-recognition
Computer Vision Guide
📖 This guide is to help you understand the basics of the computerized image and develop computer vision projects with OpenCV. Includes Python, Java, JavaScript, C# and C++ examples.
Stars: ✭ 244 (+577.78%)
Mutual labels:  face-recognition
Deepstream Project
This is a highly separated deployment project based on Deepstream , including the full range of Yolo and continuously expanding deployment projects such as Ocr.
Stars: ✭ 120 (+233.33%)
Mutual labels:  face-recognition
Face-Recognition-Raspberry-Pi-64-bits
Recognize 2000+ faces on your Raspberry Pi 4 with database auto-fill and anti-spoofing
Stars: ✭ 48 (+33.33%)
Mutual labels:  face-recognition
Angular Penalty Softmax Losses Pytorch
Angular penalty loss functions in Pytorch (ArcFace, SphereFace, Additive Margin, CosFace)
Stars: ✭ 236 (+555.56%)
Mutual labels:  face-recognition
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 (+102.78%)
Mutual labels:  face-recognition
Face-Recognition
A Java application for Face Recognition under expressions, occlusions and pose variations.
Stars: ✭ 55 (+52.78%)
Mutual labels:  face-recognition
Mask-Aware-Face-Recognition-SDK-iOS
Fast, Accurate, Mask-Aware Face Recognition SDK with Liveness Detection
Stars: ✭ 113 (+213.89%)
Mutual labels:  face-recognition
Probabilistic Face Embeddings
(ICCV 2019) Uncertainty-aware Face Representation and Recognition
Stars: ✭ 253 (+602.78%)
Mutual labels:  face-recognition
FaceRecognition-DNN
A Face recognition system using Deep Neural Networks -- Will shortly update this to work on Python3
Stars: ✭ 17 (-52.78%)
Mutual labels:  face-recognition
Detect-Facial-Features
Code example demonstrating how to detect eyes, nose, lips, and jaw with dlib, OpenCV, and Python
Stars: ✭ 42 (+16.67%)
Mutual labels:  face-recognition
Face Recognizer Android
Reatime Face Recognizer on Android
Stars: ✭ 241 (+569.44%)
Mutual labels:  face-recognition
Face-Liveness-Detection-SDK-iOS
Robust, Realtime, On-Device Face Liveness Detection (Face Anti Spoofing) For iOS
Stars: ✭ 48 (+33.33%)
Mutual labels:  face-recognition
Pychubby
Automated face warping tool.
Stars: ✭ 240 (+566.67%)
Mutual labels:  face-recognition
DeepFaceRecognition
Face Recognition with Transfer Learning
Stars: ✭ 16 (-55.56%)
Mutual labels:  face-recognition
FaceNet-IOT
IOT implementation for FaceNet project by David Sandberg https://github.com/davidsandberg/facenet
Stars: ✭ 18 (-50%)
Mutual labels:  face-recognition
FaceIDLight
A lightweight face-recognition toolbox and pipeline based on tensorflow-lite
Stars: ✭ 17 (-52.78%)
Mutual labels:  face-recognition
bob
Bob is a free signal-processing and machine learning toolbox originally developed by the Biometrics group at Idiap Research Institute, in Switzerland. - Mirrored from https://gitlab.idiap.ch/bob/bob
Stars: ✭ 38 (+5.56%)
Mutual labels:  face-recognition

face-search

This is a demonstration of a face search system

Work flows:

  • Detect faces from the images
  • Crop the face to 224x224 pixels
  • Align the face
  • Feed face images through a feature extractor (I use vgg face feature extractor)
  • Save the vector representations into database along with images names and url
  • Queries run very fast thanks to Postgres's CUBE extension

This demo works on Ubuntu 16.04 LTS with Python 2.7, my laptop details:

  • CPU: Intel core i5-4210U @1.7GHz
  • RAM: 8GB DDR3
  • GPU: NVIDIA GTX 840M

Installation

OpenCV for python

Details instruction: https://gist.github.com/trungkak/a934e92b3829a025f98a0b3419fad2da

CUDA, tensorflow, keras installation

Details instruction: https://gist.github.com/trungkak/3d9d0c1b9dda91623488a5e4a3373053

Postgres installation

Details instruction: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-16-04

Preparation

Get into src directory

cd /src

Open .env file then enter your config (DBName, USER, PASSWORD)

vi .env

To do things from scratch, download a face dataset like LFW (http://vis-www.cs.umass.edu/lfw/)

cd ../images
wget http://vis-www.cs.umass.edu/lfw/lfw-funneled.tgz
tar zxvf lfw-funneled.tgz

Running

To index your images data, use:

python app.py -path <path-to-your-images-directory>

To identify a person, use:

python app.py -image <path-to-your-image>

To get help, use:

python app.py -h

Resources

  • Deep Face Recognition: Link
  • Face search at scale, 80 million gallery: Link

Author

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