# nagadomi/lbpcascade_animeface

A Face detector for anime/manga using OpenCV

Repository: https://github.com/nagadomi/lbpcascade_animeface
Canonical: https://ross.abutalabs.com/products/lbpcascade_animeface
License Family: other
Topics: opencv, face-detector
Last push: 2018-11-23T05:53:31+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4317, "days_push": 2840, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1982, forks 291 (observed 2026-08-28T04:06:01.848810+00:00)

## What it is
A pretrained LBP cascade classifier file (lbpcascade_animeface.xml) for OpenCV that detects anime and manga character faces in images. Distributed since 2011 as a single XML model file with example Python detection code, rather than as an installable library.

## Use cases
- detect anime character faces in images with opencv
- locate manga panel faces automatically
- crop anime faces from screenshots or illustrations
- download a pretrained cascade file for anime face detection
- batch-process anime images to find face regions in python
- add face detection to an anime image tagging pipeline

## When to choose
- You want lightweight anime face detection using only OpenCV's CascadeClassifier, no deep-learning runtime or GPU
- You need a drop-in XML cascade that works with the standard cv2.detectMultiScale workflow
- You are processing anime illustrations, screenshots, or manga scans in Python

## When to avoid
- You need to detect real human faces - use OpenCV's built-in haarcascades or DNN face models instead
- You need maximum detection accuracy - the author states the companion animeface-2009 project detects more accurately
- You need a robust deep-learning anime face detector with better tolerance to pose and lighting variations
- You require a clearly licensed, actively maintained dependency - the project has no license file and has not seen releases since 2018

## Facets
- artifact type: dataset
- maturity: stable
- function: computer-vision, image-processing, machine-learning
- domain: computer-vision, image-processing
- platform: python, cross-platform
- tags: anime, manga, face-detection, opencv, cascade-classifier, lbp, pretrained-model, xml-cascade, illustration-processing

## Member repositories
- nagadomi/lbpcascade_animeface (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:01.848810+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-30T03:03:56.101934+00:00, confidence not recorded.
  - readme: https://github.com/nagadomi/lbpcascade_animeface (fetched 2026-08-28T04:06:01.848810+00:00, sha e75b0b90f449)
- Data as of 2026-08-30T08:39:29.467469+00:00.
