Python face-detection

Open-source Python projects categorized as face-detection

Top 23 Python face-detection Projects

face-detection
  1. Face Recognition

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

    Project mention: Show HN: Real-time privacy protection for smart glasses | news.ycombinator.com | 2025-08-11

    Did you look at egoblur? its a lot more effective at face detection than https://github.com/ageitgey/face_recognition granted, you'd have to do your own face matching to do exception.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. insightface

    State-of-the-art 2D and 3D Face Analysis Project

    Project mention: Porn sites go dark in France over new age verification rules | news.ycombinator.com | 2025-06-04

    Ask for credit card verification and a live webcam stream to verify your face while you are watching the video.

    We have AI models who can estimate age and gender on mobile:

    https://github.com/deepinsight/insightface/blob/master/attri...

    Then punish illegal websites and the ISPs who serve such contents.

  4. facenet

    Face recognition using Tensorflow

  5. PaddleDetection

    Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.

  6. face-alignment

    :fire: 2D and 3D Face alignment library build using pytorch

  7. facenet-pytorch

    Pretrained Pytorch face detection (MTCNN) and facial recognition (InceptionResnet) models

  8. ailia-models

    The collection of pre-trained, state-of-the-art AI models for ailia SDK

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. retinaface

    RetinaFace: Deep Face Detection Library for Python

  11. OpenSeeFace

    Robust realtime face and facial landmark tracking on CPU with Unity integration

  12. deface

    Video anonymization by face detection

  13. DeepStack

    The World's Leading Cross Platform AI Engine for Edge Devices

  14. facetorch

    Python library for analysing faces using PyTorch

  15. anime-face-detector

    Anime Face Detector using mmdet and mmpose

  16. Face-tracking-with-Anime-characters

    Hello! I have made a Python project where YURI from the game doki doki literature club accesses the webcam and stares directly into the players soul. Hope you enjoy!

  17. Tiny_Faces_in_Tensorflow

    A Tensorflow Tiny Face Detector, implementing "Finding Tiny Faces"

  18. SkinToneClassifier

    An easy-to-use library for skin tone classification

    Project mention: Skintone Color Analysis AI Model and App | news.ycombinator.com | 2025-07-15

    I built Palette by Momo (https://www.palettebymomo.com) for fun, to democratize seasonal color analysis. Traditional color consultations cost $100-300 and require in-person appointments, but I wanted something instant and accessible that anyone could use from their phone.

    Seasonal color analysis helps people find the most flattering colors for their skin tone, hair, and eyes. It's incredibly popular on TikTok and Instagram, but professional consultations are geographically limited and costs $100 to $300. I tried a couple of other apps and my attempts often fail because it's genuinely difficult to assess your own coloring objectively.

    I integrated the SkinToneClassifier library (https://github.com/ChenglongMa/SkinToneClassifier), which uses face detection, skin segmentation, and k-means clustering to determine skin tone categories. The library is actually quite elegant - it extracts dominant colors from detected facial areas and maps them to established color palettes used in professional analysis. I used FastAPI for the skintone analysis backend and really liked the developer experience.

    The FastAPI endpoint processes the uploaded image, runs it through the skin tone classifier, and returns a comprehensive color palette tailored to the user's analysis.

    How It Works:

  19. FaceRecognitionSecurity

    Face Recognition Security

  20. CheekyKeys

    Use Python, OpenCV, and MediaPipe to control a keyboard with facial gestures

  21. The-Machine

    Person of Interest Machine

  22. PetFace

    [ECCV 2024 Oral] PetFace: A Large-Scale Dataset and Benchmark for Animal Identification https://arxiv.org/abs/2407.13555

    Project mention: How Can AI ID a Cat? An Illustrated Guide | news.ycombinator.com | 2025-08-23

    Yes, I've worked in this space for dogs (for re-identifying animals that have been vaccinated for rabies). It's a very difficult problem, but mostly because getting/scraping good training data is difficult. You really want lots of paired images of the same animal and that's hard compared to searching for "cat".

    Tricks include facial alignment + cropping and very strong constraints on orientation to make sure you have a good frontal image (apps will give users photo alignment markers). Otherwise it's a standard visual seatch. Run a face extraction model to get the crop, warp to standard key points, compute the crop embedding, store in a database and do a nearest neighbour lookup.

    There are a few startups doing this. Also look at PetFace which was a benchmark released a year or so ago. Not a huge amount of work in this area compared to humans, but it's of interest to people like cattle farmers as well.

    https://github.com/mapooon/PetFace

  23. blurfaces

    blurs faces in video

  24. light-anime-face-detector

    A fast and light-weighted anime face detection based on LFFD.

  25. GEFF

    Official implementation of the paper GEFF: Improving Any Clothes-Changing Person ReID Model using Gallery Enrichment with Face Features.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python face-detection discussion

Python face-detection related posts

  • Show HN: Real-time privacy protection for smart glasses

    2 projects | news.ycombinator.com | 11 Aug 2025
  • Porn sites go dark in France over new age verification rules

    1 project | news.ycombinator.com | 4 Jun 2025
  • Indexing iCloud Photos with AI Using LLaVA and Pgvector

    2 projects | news.ycombinator.com | 22 Jan 2024
  • Security Image Recognition

    1 project | /r/computervision | 10 Dec 2023
  • Facial recognition software/API for face-blind teacher?

    1 project | /r/software | 7 Dec 2023
  • InsightFace are trying to kill off AI competitors on YouTube

    1 project | /r/StableDiffusion | 17 Nov 2023
  • GitHub - ageitgey/face_recognition: The world's simplest facial recognition api for Python and the command line

    1 project | /r/Python | 5 Nov 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 23 Dec 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source face-detection projects in Python? This list will help you:

# Project Stars
1 Face Recognition 55,756
2 insightface 27,380
3 facenet 14,207
4 PaddleDetection 13,989
5 face-alignment 7,442
6 facenet-pytorch 5,088
7 ailia-models 2,296
8 retinaface 1,841
9 OpenSeeFace 1,773
10 deface 894
11 DeepStack 805
12 facetorch 604
13 anime-face-detector 476
14 Face-tracking-with-Anime-characters 417
15 Tiny_Faces_in_Tensorflow 383
16 SkinToneClassifier 176
17 FaceRecognitionSecurity 176
18 CheekyKeys 169
19 The-Machine 94
20 PetFace 85
21 blurfaces 76
22 light-anime-face-detector 71
23 GEFF 69

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Python is
the 2nd most popular programming language
based on number of references?