cosanlab/py-feat
Facial Expression Analysis Toolbox
What it solves
Py-FEAT provides a comprehensive toolkit for facial expression (FEX) research, simplifying the process of extracting emotional and physical facial data from images and videos.
How it works
The library uses pretrained models (automatically downloaded from HuggingFace) to detect faces and extract specific facial features, including:
- Emotional expressions (e.g., happiness, sadness, anger).
- Facial muscle movements (known as action units).
- Facial landmarks.
It supports hardware acceleration on CPU, NVIDIA GPUs (CUDA), and Apple Silicon (MPS).
Who it’s for
Researchers and developers working in facial expression analysis, psychology, and computer vision.
Highlights
- Automated weight management: Model weights are downloaded automatically as needed.
- Cross-platform hardware support: Compatible with CUDA and Metal (MPS) for faster processing.
- End-to-end pipeline: Includes tools for detection, extraction, preprocessing, analysis, and visualization of facial data.
Related
- Project
yakhyo/unifaceUniFace is a lightweight, production-ready Python library that unifies fifteen face-analysis tasks — detection, recognition, tracking, landmarks, parsing, gaze, attributes, anti-spoofing, and more — into a single API. It runs on CPU, Apple Silicon, and CUDA, with model weights downloaded on first use.
- Dispatch
Getting Started with Sentiment Analysis using PythonHugging Face provides a comprehensive guide on implementing sentiment analysis using Python, leveraging pre-trained models from the Hugging Face Hub, the Trainer API for fine-tuning, and the no-code AutoNLP tool.
- Project
serengil/deepfaceDeepFace is a lightweight, hybrid Python framework that automates the complex facial recognition and analysis pipeline, allowing developers to perform verification, identification, and attribute prediction with minimal code.
- Project
- Project
deepinsight/insightfaceInsightFace is an open‑source 2D/3D face analysis library offering detection, recognition, alignment, video redaction, person‑level matching, and a self‑hosted server with REST API. Implemented in PyTorch/MXNet, it provides pretrained models, automatic hardware backend selection, and tools for large‑scale face search.