{"repo":"1adrianb/face-alignment","free":true,"listed":false,"github":"https://github.com/1adrianb/face-alignment","clone":"git clone https://github.com/1adrianb/face-alignment.git","description":":fire: 2D and 3D Face alignment library build using pytorch","language":"Python","stars":7538,"topics":["python","deep-learning","face-alignment","face-detector","pytorch","face-detection"],"license":"BSD-3-Clause","category":"machine-learning","readme_excerpt":"Face Recognition Detect facial landmarks from Python using the world's most accurate face alignment network, capable of detecting points in both 2D and 3D coordinates. Build using FAN's state-of-the-art deep learning based face alignment method. Note: The lua version is available here. For numerical evaluations it is highly recommended to use the lua version which uses indentical models with the ones evaluated in the paper. More models will be added soon. Features Detect 2D facial landmarks in pictures Detect 3D facial landmarks in pictures Process an entire directory in one go Detect the landmarks using a specific face detector. By default the package will use the SFD face detector. Pass face detector to switch: Supported face detectors The library supports multiple face detection backends. SFD is the default and most accurate, but slower alternatives like BlazeFace, YuNet, or RetinaFace offer better speed. SCRFD requires the optional onnxruntime package ( pip install onnxruntime ). Detector face detector= CPU (ms) MPS (ms) PyTorch device --- --- --- --- --- SFD 'sfd' 138.8 33.1 CPU / CUDA / MPS BlazeFace 'blazeface' 10.9 8.2 CPU / CUDA / MPS YuNet 'yunet' 5.6 N/A CPU only (OpenCV DNN) RetinaFace 'retinaface' 25.2 15.5 CPU / CUDA / MPS SCRFD 'scrfd' 23.1 N/A CPU only (ONNX Runtime) dlib (deprecated) 'dlib' — — CPU / CUDA Timings: detection only, median over 20 runs, single face 450x450 image, Apple M2. You can also skip detection entirely by passing face detector='folder' , ","default_branch":null,"files":null,"tree":[],"storefront":"/r/1adrianb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/1adrianb/face-alignment/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}