All Projects → YunYang1994 → Face_recognition

YunYang1994 / Face_recognition

Licence: mit
🍎 My own face recognition with deep neural networks.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to 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 (-25.61%)
Mutual labels:  object-detection, image-classification, face-recognition, image-processing
Marvel
Marvel - Face Recognition With Android & OpenCV
Stars: ✭ 199 (-39.33%)
Mutual labels:  object-detection, face-detection, face-recognition, image-processing
Tensorflow Lite Rest Server
Expose tensorflow-lite models via a rest API
Stars: ✭ 43 (-86.89%)
Mutual labels:  object-detection, face-detection, image-processing
Sod
An Embedded Computer Vision & Machine Learning Library (CPU Optimized & IoT Capable)
Stars: ✭ 1,460 (+345.12%)
Mutual labels:  object-detection, face-detection, image-processing
Dockerface
Face detection using deep learning.
Stars: ✭ 173 (-47.26%)
Mutual labels:  object-detection, face-detection, face-recognition
Pytorch Toolbelt
PyTorch extensions for fast R&D prototyping and Kaggle farming
Stars: ✭ 942 (+187.2%)
Mutual labels:  object-detection, image-classification, image-processing
Albumentations
Fast image augmentation library and an easy-to-use wrapper around other libraries. Documentation: https://albumentations.ai/docs/ Paper about the library: https://www.mdpi.com/2078-2489/11/2/125
Stars: ✭ 9,353 (+2751.52%)
Mutual labels:  object-detection, image-classification, image-processing
Ownphotos Frontend
Stars: ✭ 171 (-47.87%)
Mutual labels:  object-detection, face-detection, face-recognition
Sianet
An easy to use C# deep learning library with CUDA/OpenCL support
Stars: ✭ 353 (+7.62%)
Mutual labels:  object-detection, image-classification, image-processing
Ownphotos
Self hosted alternative to Google Photos
Stars: ✭ 2,587 (+688.72%)
Mutual labels:  object-detection, face-detection, face-recognition
Catalyst
Accelerated deep learning R&D
Stars: ✭ 2,804 (+754.88%)
Mutual labels:  object-detection, image-classification, image-processing
Dmsmsgrcg
A photo OCR project aims to output DMS messages contained in sign structure images.
Stars: ✭ 18 (-94.51%)
Mutual labels:  object-detection, image-classification, image-processing
Deepcamera
Open source face recognition on Raspberry Pi. SharpAI is open source stack for machine learning engineering with private deployment and AutoML for edge computing. DeepCamera is application of SharpAI designed for connecting computer vision model to surveillance camera. Developers can run same code on Raspberry Pi/Android/PC/AWS to boost your AI production development.
Stars: ✭ 757 (+130.79%)
Mutual labels:  object-detection, face-detection, face-recognition
Computervision Recipes
Best Practices, code samples, and documentation for Computer Vision.
Stars: ✭ 8,214 (+2404.27%)
Mutual labels:  object-detection, image-classification, image-processing
Getting Things Done With Pytorch
Jupyter Notebook tutorials on solving real-world problems with Machine Learning & Deep Learning using PyTorch. Topics: Face detection with Detectron 2, Time Series anomaly detection with LSTM Autoencoders, Object Detection with YOLO v5, Build your first Neural Network, Time Series forecasting for Coronavirus daily cases, Sentiment Analysis with BERT.
Stars: ✭ 738 (+125%)
Mutual labels:  object-detection, face-detection, face-recognition
Deepstack
The World's Leading Cross Platform AI Engine for Edge Devices
Stars: ✭ 120 (-63.41%)
Mutual labels:  object-detection, face-detection, face-recognition
Curated List Of Awesome 3d Morphable Model Software And Data
The idea of this list is to collect shared data and algorithms around 3D Morphable Models. You are invited to contribute to this list by adding a pull request. The original list arised from the Dagstuhl seminar on 3D Morphable Models https://www.dagstuhl.de/19102 in March 2019.
Stars: ✭ 375 (+14.33%)
Mutual labels:  face-detection, face-recognition, image-processing
Opencv Face Filters
Snapchat-like Face Filters in OpenCV
Stars: ✭ 51 (-84.45%)
Mutual labels:  face-detection, face-recognition, image-processing
deepstack-ui
UI for working with Deepstack
Stars: ✭ 115 (-64.94%)
Mutual labels:  image-classification, face-recognition, face-detection
ailia-models
The collection of pre-trained, state-of-the-art AI models for ailia SDK
Stars: ✭ 1,102 (+235.98%)
Mutual labels:  image-classification, face-recognition, face-detection

人脸识别


这个仓库是使用TensorFlow 2.0框架,并基于 cvpr2019-arcface 论文上完成的,其中主要分为四大块:人脸检测、人脸矫正、提取特征和特征比对。各个模块的大小和在我的 17 款 macbook-pro 的 CPU 上跑耗时如下:

  • 人脸检测:使用的是 mtcnn 网络,模型大小约 1.9MB,耗时约 30ms;
  • 人脸矫正:OpenCV 的仿射变换,耗时约 0.83ms;
  • 提取特征:使用 MobileFaceNet 和 IResNet 网络,耗时约30ms;
  • 特征比对:使用曼哈顿距离,单次搜索和完成比对耗时约 0.011 ms;

注册人脸


注册人脸的方式有两种,分别是:

  1. 打开相机注册:
$ python register_face.py -person Sam -camera

s 键保存图片,需要在不同距离和角度拍摄 10 张图片或者按 q 退出。

  1. 导入人脸图片:

保证文件的名字与注册人名相同,并且每张图片只能出现一张这个 ID 的人脸。

$ python register_face.py -person Jay

识别人脸


Method LFW(%) CFP-FP(%) AgeDB-30(%) MegaFace(%) cpu-time weights
MobileFaceNet 99.50 88.94 95.91 --- 35ms 提取码: xgmo
IResNet 99.77 98.27 98.28 98.47 435ms 下载链接

识别模型用的是 MobileFaceNet 网络,这里直接使用了 insightface 在 ms1m-refine-v1 三百万多万张人脸数据集上训练的模型。这部分工作在 mxnet 分支上,你可以通过 git checkout mxnet 进行切换。

由于该模型是 mxnet 格式,因此使用了 mmdnn 导出了其模型权重 mobilefacenet.npy。接着使用了 TF2 自己手写了一个 MobileFaceNet 网络并导入权重,预测精度没有任何损失。这部分工作在 master 分支上。

最后,如果你要识别人脸,可以执行:

$ python main.py
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].