Type | Other |
Stats | 3,683 |
Reviews | (438) |
Published | Dec 27, 2024 |
Base Model | |
Hash | AutoV2 6A0348912F |
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://civitai.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://www.patreon.com/c/user?u=44405057
アニメガール用の顔検知モデル
これは ADetailer で使用できるモデルです。
アニメの画像約500枚でトレーニングされました。
リアルな女性の顔検知を行う場合は、Anzhc氏のモデルを使用してください。
https://civitai.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程度に上げると眉毛も含めることができます。
よいお年を!