CivArchive
    ADetailer Anime Girl Face Segmentation / 漫画娘 顔検知 - bbox
    NSFW
    Preview 48473849
    Preview 48473861
    Preview 48473879
    Preview 48473881
    Preview 48473907
    Preview 48473913

    This is a face detection model for girls created specifically for ADetailer.

    It was trained using around 500 anime-style images.

    If you're looking to detect realistic female faces, please use Anzhc's model instead:

    https://civarchive.com/models/293448/anzhcs-face-segmentation-prototype-or-yolov8-or-adetailer-model

    I developed this model to fill a niche, focusing solely on detecting anime girls' faces.

    Since it uses a segmentation-based approach, it has the advantage of avoiding nearby people or hats being mistakenly included, which is often an issue with bounding box methods.

    It also excludes male faces, ensuring you can avoid the all-too-common tragedy of accidentally "repainting" a male character’s head with a female face.

    Tagging the data was like the most indulgent kind of Zen—simultaneously painstaking and oddly meditative.

    I'm not too keen on the idea, but if there's enough demand, I might consider making a face detection model for anime-style male characters as well.

    Q&A

    Q. A cute boy is mistakenly detected as a girl.
    A. Increase the first option under ADetailer’s [Detection] section, [Detection model confidence threshold], to around 0.7.
    This will make the model more selective when detecting girls.
    Be cautious, as setting it too high (e.g., above 0.85) might result in actual girls not being detected.

    Q. Eyebrows are not included in the correction area.
    A. Due to the segmentation method, eyebrows can occasionally be treated as part of the face boundary.
    Try increasing the [Mask erosion (-) / dilation (+)] setting under [Mask Preprocessing] to around 24.
    This should help include the eyebrows in the correction area.

    Happy New Year in advance!


    Any help to purchase a PC for machine learning would be greatly appreciated.

    https://ko-fi.com/99coins

    https://www.patreon.com/c/user?u=44405057


    アニメガール用の顔検知モデル

    これは ADetailer で使用できるモデルです。

    アニメの画像約500枚でトレーニングされました。

    リアルな女性の顔検知を行う場合は、Anzhc氏のモデルを使用してください。

    https://civarchive.com/models/293448/anzhcs-face-segmentation-prototype-or-yolov8-or-adetailer-model

    私はこのニッチを埋めるために、アニメガールに特化した顔検知を制作しました。

    セグメント方式で分割するため、隣にいる人や帽子を巻き込まないことが、bbox方式にはない利点です。

    また男性を検知から除外するため、男性の頭を女性用のADetailerで上書きしてしまうといったよくある悲劇を防ぐことができます。

    タグ付けの作業は地上で最も煩悩にまみれた禅のようでした。

    あまり食指が動きませんが、もし需要があればアニメの男性の顔検知モデルも制作するかもしれません。

    Q&A

    Q.可愛らしい男の子が誤って女の子として検出されてしまう

    A.ADetailerの[Detection]の最初の項目[Detection model confidence threshold]を0.7程度に上げてください。

    より厳密に女の子を探します。

    上げすぎると本当の女の子も見つからなくなるので0.85くらいが上限です。

    Q.眉毛が修正範囲に含まれない

    A.セグメントの都合上、まれに眉毛が顔の境界線になってしまうことがあります。

    [Mask Preprocessing]の項目にある[Mask erosion (-) / dilation (+)]を24程度に上げると眉毛も含めることができます。

    よいお年を!

    Description

    bbox

    FAQ

    Comments (27)

    1233524Jan 5, 2025· 1 reaction
    CivitAI

    it's so good!

    WizziJan 10, 2025· 1 reaction
    CivitAI

    well done

    User37Jan 24, 2025· 1 reaction
    CivitAI

    Thanks! Works great. Do you mind also trying to make an anime hand adetailer?

    ludicrousXX171Jan 24, 2025· 1 reaction
    CivitAI

    Could you make feet segmentation for aDetailer please?

    haddoqFeb 5, 2025
    CivitAI

    Anzhc's model seems to be gone, any chance you could make this for realistic as well?

    Rangiku209090Mar 7, 2025
    CivitAI

    is this can use in forge?

    LovelaceAApr 16, 2025· 1 reaction
    CivitAI

    It is quite a good detector, would not bother to detect things like faceless male head anymore. However, sometimes it does not detect face even the threshold is as low as 0.3. Hope there can be an updated version!

    iLikeCookiesApr 18, 2025· 7 reactions
    CivitAI

    This Changes the Artstyle too much, to a certain style. Was this trained on only 1 artist? Can you please do a new version.

    Rule34DiffusionApr 26, 2025· 6 reactions

    this is only trained to detect not denoise/generate like lora and checkpoints.

    The way this was trained was they gave it a bunch of images on anime girls, then they mark the faces for the yolo model to train off of, so when you use it all it does is detect the face, and then uses whatever checkpoint and loras(if you are using any) to inpaint/generate over the face (for this detection model.
    This should not affect the style.

    AnikyApr 26, 2025· 5 reactions

    I would say that it has not been trained with all the anime girls that exist, because I tried it on Asuna Yuuki and it changed my style completely, if it were me I would use this tool only for anime girls in general

    HoloLeonMay 24, 2025· 2 reactions

    @Aniky This can't change the artstyle in any way. Its only function is to detect and mask anime girl's faces. Your ckpts, loras, controlnets, etc are the ones changing the style.

    AnikyMay 24, 2025· 3 reactions

    @HoloLeon actually you can do it, just write in the positive prompt of ADetailer the name of the girl, and the facial expression, if you leave the prompt empty, it will only change the natural style and expression

    QuattroBajina2Jun 14, 2025· 1 reaction

    It's a detection model. It literally does not "change" anything. It doesn't generate anything.

    iLikeCookiesJun 25, 2025· 2 reactions

    @QuattroBajina2 As other people already confirmed, It changes the Artstyle too much.

    QuattroBajina2Jul 1, 2025· 3 reactions

    @iLikeCookies Let's review, shall we?: It's a detection model. It literally does not "change" anything. It doesn't generate anything.

    taithrahJul 13, 2025· 3 reactions

    People know how to generate images, etc. but don't actually understand how it works.

    these models are object‐detection model that tells you where objects are by drawing boxes or masks. It does not change any pixels. Whatever you use to generate is just inpainting the location the detection model selects. That's it.

    If you are getting messed up images etc. your settings are bad. lower the denoise etc. again, this is just masking the location, whatever you use to generate is inpainting the location.

    yukaka05570May 23, 2025· 3 reactions
    CivitAI

    こんな神機能を見過ごしていたなんて…

    1233524Jul 15, 2025· 2 reactions
    CivitAI

    The best face detector so far, but sadly it can't detect upside-down faces

    yolololoAug 26, 2025
    CivitAI
    It works perfectly, but if the girl is wearing glasses, it doesn't detect it.


    BubblesManSep 25, 2025
    CivitAI

    How do I use it?I have added it to the AD folder.

    bakatimeprojectDec 1, 2025· 3 reactions

    ComfyUI\models\ultralytics\segm

    Cfkfhfy33Oct 2, 2025
    CivitAI

    Not work with furry girls

    anon4chanh4cker213Oct 11, 2025· 5 reactions
    CivitAI

    the bbox version is better for me because the face mask doesn't always cover the whole face

    BoolMooseNov 15, 2025
    CivitAI

    It struggles to detect certain faces in profile. Specifically ones with narrow eyes and mature face shape.

    santose22Jan 9, 2026· 2 reactions
    CivitAI

    When using segment detect, it does detected the face, but can't re-draw, why is that?

    maillet99727Apr 19, 2026
    CivitAI

    検出されるが再描画されないゴミ

    Detection
    Other

    Details

    Downloads
    3,359
    Platform
    CivitAI
    Platform Status
    Available
    Created
    12/30/2024
    Updated
    5/28/2026
    Deleted
    -

    Files

    adetailerAnimeGirlFace_bbox.zip

    Mirrors