hysts/anime-face-detector

Anime Face Detector using mmdet and mmpose

What it solves

它提供了一種自動偵測圖像中動畫風格臉部並估計其臉部特徵點的方法,這對於標準的人臉偵測器而言往往很困難。

How it works

該專案使用 PyTorch 執行預訓練模型,進行偵測與特徵點估計。它提供 Faster R-CNN 與 YOLOv3 兩種選擇,用於偵測近正面動畫臉部的邊界框,並使用 HRNetV2 模型預測臉部上的 28 個特定特徵點。

Who it’s for

適用於開發者與研究人員,處理動畫風格影像時需要定位臉部並識別關鍵臉部特徵以進行後續處理。

Highlights

  • Multiple Detection Options: Supports both Faster R-CNN and YOLOv3 architectures.
  • Landmark Estimation: Predicts 28 distinct facial landmark points.
  • Simplified Dependencies: Runs in plain PyTorch without requiring the OpenMMLab runtime.
  • Easy Integration: Provides a simple Python API and automatic weight downloading via Hugging Face Hub.