# ageitgey/face_recognition

The world's simplest facial recognition api for Python and the command line

Repository: https://github.com/ageitgey/face_recognition
Canonical: https://ross.abutalabs.com/products/face_recognition
Language: Python
License: MIT
License Family: permissive
Topics: machine-learning, face-detection, face-recognition, python
Last push: 2026-06-25T11:12:50+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 8, longevity 100
- inputs: {"age_days": 3470, "days_push": 69, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 56684, forks 13697 (observed 2026-08-28T04:12:18.487093+00:00)

## What it is
A Python library and command-line tool providing a simple API for face detection, facial landmark extraction, and face recognition, built on dlib's deep learning models. It achieves 99.38% accuracy on the Labeled Faces in the Wild benchmark.

## Use cases
- find faces in photos
- identify who is in a picture
- detect facial landmarks like eyes and nose
- compare faces across images
- recognize people in a folder of images from the command line
- apply digital makeup to faces in photos

## When to choose
- you need a simple, well-documented face recognition API in Python
- you want a CLI tool for batch face recognition on image folders
- you need facial landmark detection for image manipulation
- you want high accuracy without building your own model

## When to avoid
- you need real-time video face recognition at scale
- you need GPU-accelerated performance for large workloads
- you need actively developed features or modern model architectures
- you need face recognition on mobile or embedded devices

## Facets
- artifact type: library
- maturity: maintenance
- function: computer-vision, image-processing, machine-learning, cli
- domain: computer-vision, image-processing, machine-learning, developer-tools
- platform: python, cli, cross-platform
- tags: face-recognition, face-detection, facial-landmarks, dlib, deep-learning

## Member repositories
- ageitgey/face_recognition (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:18.487093+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:18:40.797623+00:00, confidence not recorded.
  - readme: https://github.com/ageitgey/face_recognition (fetched 2026-08-28T04:12:18.487093+00:00, sha e886ea96caa8)
  - registry_pypi: https://pypi.org/pypi/face_recognition/json (fetched 2026-08-28T18:03:47.350523+00:00, sha 44cd036d4c8c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
