{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/7"}],"enrichment":{"capability":"Detects 2D and 3D facial landmarks from images using deep learning, supporting multiple face detection backends and GPU acceleration via PyTorch.","skillfed_tags":["computer-vision","deep-learning","facial-analysis"],"use_cases":["Extract facial landmarks from photos for 3D face reconstruction or morphing applications.","Detect 2D face keypoints for facial expression recognition or emotion analysis pipelines.","Batch process entire image directories to generate landmark datasets for model training.","Integrate into face verification systems that need precise landmark alignment before comparison.","Run inference on GPU-accelerated hardware for real-time facial analysis in production systems."],"what_it_does":"face-alignment is a Python library that detects facial landmarks\u2014specific points on a face like eyes, nose, and mouth corners\u2014in both 2D and 3D coordinates. It wraps a state-of-the-art deep learning model (FAN) and runs on PyTorch, supporting multiple face detection backends (SFD, BlazeFace, YuNet, RetinaFace, SCRFD) with different speed-accuracy tradeoffs. You instantiate a FaceAlignment object with your chosen landmark type and face detector, then call get_landmarks() on images or directories.\n\nThe library is designed for computer vision pipelines that need precise facial geometry\u2014facial expression analysis, face morphing, 3D face reconstruction, or face verification systems. It handles GPU/CPU device selection, batch processing, and optional torch.compile optimization. Runtime dependencies include torch, numpy, scipy, scikit-image, opencv-python, tqdm, numba, and packaging, all standard data-science and vision libraries.","worth_installing":"Yes. The package is actively maintained, has low install friction, permissive BSD licensing, zero known vulnerabilities, and strong community adoption (7536 stars). It's the right choice if you need accurate 2D/3D facial landmark detection with flexible face detector options and GPU support. Install it if facial geometry extraction is core to your application."},"id":"face-alignment","links":{"html":"https://skillfed.io/packages/face-alignment","md":"https://skillfed.io/packages/face-alignment.md","pypi":"https://pypi.org/project/face-alignment/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-06","license_spdx":null,"license_treatment":"permissive","name":"face-alignment","python_support":"supports_current","summary":"Detector 2D or 3D face landmarks from Python"},"popularity":{"monthly_downloads":191129,"position":9889,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.5.0"}
