Build smart applications with features like real-time face recognition, finding and identifying faces in pictures, detecting, and manipulating facial features, and many more with this list of best python face recognition libraries.
Deep learning face recognition algorithms in python detect an image by finding essential feature points in a picture, such as eyes, nose, eyebrows, corners of the mouth, lips, etc. Whereas traditional face recognition algorithm, such as the Local Binary Patterns Histograms (LBPH), breaks an image into thousands of smaller, bite-sized tasks, also known as classifiers. Certain face recognition python source code support single-shot learning. These systems can train themselves to detect a person through a single picture. However, there are some challenges faced by AI face detection programs, such as different human poses and facial expressions, low resolution, high illumination, etc.
The following is a comprehensive list of the best open-source python libraries for face recognition:
Popular among developers, the face_recognition library boasts a 99.38% accuracy. It can help perform recognition on a single image or a folder of images from the command line itself.
The world's simplest facial recognition api for Python and the command line
Python 47742 Version:v1.2.2 License: Permissive (MIT)
The OpenCV python face recognition library detects faces in a picture through machine learning algorithms. It breaks the process into multiple stages called ‘cascade’.
Real-time face recognition project with OpenCV and Python
Python 744 Version:Current License: No License
The dlib face recognition library employs the MMOD (Deep Learning) algorithm to draw a bounding box around every face in the image. It provides output by matching the input face with the dataset.
A toolkit for making real world machine learning and data analysis applications in C++
C++ 11833 Version:v19.24 License: Permissive (BSL-1.0)
DeepFaceLab is the leading software for creating deepfakes.
Python 38161 Version:DF.wf.288res.318.104.22.168 License: Strong Copyleft (GPL-3.0)
State-of-the-art 2D and 3D Face Analysis Project
Python 13765 Version:Current License: Permissive (MIT)
Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Python 9913 Version:v2.6.0 License: Permissive (Apache-2.0)
💎1MB lightweight face detection model (1MB轻量级人脸检测模型)
Python 6657 Version:Current License: Permissive (MIT)
Real-time face detection and emotion/gender classification using fer2013/imdb datasets with a keras CNN model and openCV.
Python 5337 Version:Current License: Permissive (MIT)
:fire: 2D and 3D Face alignment library build using pytorch
Python 6163 Version:v1.3.4 License: Permissive (BSD-3-Clause)
🔥🔥🔥AidLearning is a powerful AIOT development platform, AidLearning builds a linux env supporting GUI, deep learning and visual IDE on Android...Now Aid supports CPU+GPU+NPU for inference with high performance acceleration...Linux on Android or HarmonyOS
Python 5026 Version:v1.3.0 License: Others (Non-SPDX)
Joint 3D Face Reconstruction and Dense Alignment with Position Map Regression Network (ECCV 2018)
Python 4333 Version:Current License: Permissive (MIT)
Fawkes, privacy preserving tool against facial recognition systems. More info at https://sandlab.cs.uchicago.edu/fawkes
Python 4880 Version:v0.3 License: Permissive (BSD-3-Clause)
The PyTorch improved version of TPAMI 2017 paper: Face Alignment in Full Pose Range: A 3D Total Solution.
Python 3386 Version:v0.1 License: Permissive (MIT)
A distributed visual search and visual data analytics platform.
Python 2976 Version:docker.container.6 License: No License
🛡️ Windows Hello™ style facial authentication for Linux
Python 4575 Version:v2.6.1 License: Permissive (MIT)
🔥🔥High-Performance Face Recognition Library on PyTorch🔥🔥
Python 2420 Version:Current License: Permissive (MIT)
A Lightweight Face Recognition and Facial Attribute Analysis (Age, Gender, Emotion and Race) Library for Python
Python 5892 Version:Current License: Permissive (MIT)
Pretrained Pytorch face detection (MTCNN) and facial recognition (InceptionResnet) models
Python 3329 Version:v2.4.1 License: Permissive (MIT)
The official PyTorch implementation of Towards Fast, Accurate and Stable 3D Dense Face Alignment, ECCV 2020.
Python 2475 Version:v0.12 License: Permissive (MIT)
MTCNN face detection implementation for TensorFlow, as a PIP package.
Jupyter Notebook 1923 Version:Current License: Permissive (MIT)
Computer Vision library for human-computer interaction. It implements Head Pose and Gaze Direction Estimation Using Convolutional Neural Networks, Skin Detection through Backprojection, Motion Detection and Tracking, Saliency Map.
Python 1633 Version:Current License: Permissive (MIT)
Face analysis mainly based on Caffe. At this time, face analysis tasks like detection, alignment and recognition have been done.
Python 1465 Version:Current License: No License
A large-scale face dataset for face parsing, recognition, generation and editing.
Python 1756 Version:Current License: No License
DBFace is a real-time, single-stage detector for face detection, with faster speed and higher accuracy
Python 1285 Version:Current License: No License
A CNN based pytorch implementation on facial expression recognition (FER2013 and CK+), achieving 73.112% (state-of-the-art) in FER2013 and 94.64% in CK+ dataset
Python 1402 Version:Current License: Permissive (MIT)