Skip to content
ModelListedExternal
Download

Real Face Detection

These models are trained on deepghs/animefacedetection and open-sourced real photos datasets.

KindOtherVersionRevision e584a13

Model source

Kind
Other
File size
5.23–167 MB
Version
vRevision e584a13
Updated
Sep 22, 2026
Downloads
0
Source
Hugging Face

Source description

These models are trained on deepghs/anime_face_detection and open-sourced real photos datasets.

So both anime and photos are supported.

Use this with dghs-realutils

pip install dghs-realutils
from realutils.detect import detect_faces

print(detect_faces('yolo/solo.jpg'))
# [((157, 94, 252, 208), 'face', 0.8836570382118225)]
print(detect_faces('yolo/2girls.jpg'))
# [((718, 154, 1110, 728), 'face', 0.8841166496276855), ((157, 275, 519, 715), 'face', 0.8668240904808044)]
print(detect_faces('yolo/3+cosplay.jpg'))
# [((349, 227, 413, 305), 'face', 0.8543888330459595), ((383, 61, 432, 117), 'face', 0.8080574870109558), ((194, 107, 245, 162), 'face', 0.8035706877708435)]
print(detect_faces('yolo/multiple.jpg'))
# [((1070, 728, 1259, 985), 'face', 0.8765808939933777), ((548, 286, 760, 558), 'face', 0.8693087697029114), ((896, 315, 1067, 520), 'face', 0.8671919107437134), ((1198, 220, 1342, 406), 'face', 0.8485829830169678), ((1376, 526, 1546, 719), 'face', 0.8469308018684387)]

For more information, see documentation of realutils.

ModelTypeFLOPSParamsF1 ScoreThresholdprecision(B)recall(B)mAP50(B)mAP50-95(B)F1 PlotConfusionLabels
face_detect_v0_s_yv12yolo21.5G9.25M0.740.2720.869310.64040.730740.42652plotconfusionface
face_detect_v0_n_yv12yolo6.48G2.57M0.70.2580.852460.590890.67930.39182plotconfusionface
face_detect_v0_l_yv11yolo87.3G25.3M0.770.2910.884580.674740.766660.45722plotconfusionface
face_detect_v0_m_yv11yolo68.2G20.1M0.760.2620.879470.673150.760730.45288plotconfusionface
face_detect_v0_s_yv11yolo21.5G9.43M0.730.2710.870010.635720.726830.42706plotconfusionface
face_detect_v0_n_yv11yolo6.44G2.59M0.70.2630.860440.585770.676410.38975plotconfusionface
face_detect_v0_lyolo165G43.6M0.760.2770.878940.673350.763130.4532plotconfusionface
face_detect_v0_myolo79.1G25.9M0.750.2770.876870.662650.751140.44262plotconfusionface
face_detect_v0_syolo28.6G11.1M0.730.2820.869320.635570.724940.42219plotconfusionface
face_detect_v0_nyolo8.19G3.01M0.70.2570.853370.588770.674710.38692plotconfusionface

Sources

1 source
Hugging FacePrimaryVersion e584a13de05bd3c0d8e856c3907b532d50754f38
huggingface.co/Library-Mutsumi/real_face_detection/tree/e584a13de05bd3c0d8e856c3907b532d50754f38

Verified Sep 9

Model artifacts

20 artifacts

face_detect_v0_l_yv11/model.onnx

onnx · 96.7 MB · SHA-256 7d7e36f45c75…7b20 · Hugging Face

Download

face_detect_v0_l_yv11/model.pt

pt · 48.9 MB · SHA-256 6dd6464d9550…7428 · Hugging Face

Download

face_detect_v0_l/model.onnx

onnx · 167 MB · SHA-256 7a384cfd1b5d…b27f · Hugging Face

Download

face_detect_v0_l/model.pt

pt · 83.6 MB · SHA-256 8daa482474f0…c8e0 · Hugging Face

Download

face_detect_v0_m_yv11/model.onnx

onnx · 76.6 MB · SHA-256 fe60328dcb12…d4d9 · Hugging Face

Download

face_detect_v0_m_yv11/model.pt

pt · 38.7 MB · SHA-256 6c35869eb499…cc27 · Hugging Face

Download

face_detect_v0_m/model.onnx

onnx · 98.7 MB · SHA-256 9f5d1a7eb339…f363 · Hugging Face

Download

face_detect_v0_m/model.pt

pt · 49.6 MB · SHA-256 b7a3e5d62e67…7950 · Hugging Face

Download

face_detect_v0_n_yv11/model.onnx

onnx · 10.00 MB · SHA-256 f929f36b76c2…b17f · Hugging Face

Download

face_detect_v0_n_yv11/model.pt

pt · 5.23 MB · SHA-256 9689352920aa…cbd9 · Hugging Face

Download

face_detect_v0_n_yv12/model.onnx

onnx · 10.0 MB · SHA-256 d536462e7285…66f3 · Hugging Face

Download

face_detect_v0_n_yv12/model.pt

pt · 5.29 MB · SHA-256 9c87c20f1b6b…601c · Hugging Face

Download

face_detect_v0_n/model.onnx

onnx · 11.6 MB · SHA-256 396c25e72e19…bfc6 · Hugging Face

Download

face_detect_v0_n/model.pt

pt · 5.96 MB · SHA-256 125bc36a2014…206d · Hugging Face

Download

face_detect_v0_s_yv11/model.onnx

onnx · 36.1 MB · SHA-256 5815068dafce…7421 · Hugging Face

Download

face_detect_v0_s_yv11/model.pt

pt · 18.3 MB · SHA-256 94c6a493fe17…7632 · Hugging Face

Download

face_detect_v0_s_yv12/model.onnx

onnx · 35.5 MB · SHA-256 b78d6140df8e…b72b · Hugging Face

Download

face_detect_v0_s_yv12/model.pt

pt · 18.1 MB · SHA-256 3cdbaa6a3c55…0d0f · Hugging Face

Download

face_detect_v0_s/model.onnx

onnx · 42.5 MB · SHA-256 2b09ef716fc2…fade · Hugging Face

Download

face_detect_v0_s/model.pt

pt · 21.5 MB · SHA-256 2f6207a03dd3…e544 · Hugging Face

Download

Source excerpts

2 excerpts

--- datasets: - deepghs/real_face_detection - deepghs/anime_face_detection pipeline_tag: object-detection library_name: dghs-imgutils tags: - art - anime - photo - face --- These models are trained on [deepghs/anime_face_detection](https://huggingface.co/deepghs/anime_face_detection) and open-sourced real photos datasets. So both anime and photos are supported. Use this with `dghs-realutils` ```shell pip install dghs-realutils ``` ```python from realutils.detect import detect_faces print(detect_faces('yolo/solo.jpg')) # [((157, 94, 252, 208), 'face', 0.8836570382118225)] print(detect_faces('yolo/2girls.jpg')) # [((718, 154, 1110, 728), 'face', 0.8841166496276855), ((157, 275, 519, 715), 'face', 0.8668240904808044)] print(detect_faces('yolo/3+cosplay.jpg')) # [((349, 227, 413, 305), 'face', 0.8543888330459595), ((383, 61, 432, 117), 'face', 0.8080574870109558), ((194, 107, 245, 162), 'face', 0.8035706877708435)] print(detect_faces('yolo/multiple.jpg')) # [((1070, 728, 1259, 985), 'face', 0.8765808939933777), ((548, 286, 760, 558), 'face', 0.8693087697029114), ((896, 315, 1067, 520), 'face', 0.8671919107437134), ((1198, 220, 1342, 406), 'face', 0.8485829830169678), ((1376, 526, 1546, 719), 'face', 0.8469308018684387)] ``` For more information, see [documentation of realutils](https://dghs-realutils.deepghs.org/main/api_doc/detect/face.html). | Model | Type | FLOPS | Params | F1 Score | Threshold | precision(B) | recall(B) | mAP50(B) | mAP50-95(B) | F1 Plot | Confusion | Labels | |:---------------------:|:------:|:-------:|:--------:|:----------:|:-----------:|:--------------:|:-----------:|:----------:|:-------------:|:-------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------:|:--------:| | face_detect_v0_s_yv12 | yolo | 21.5G | 9.25M | 0.74 | 0.272 | 0.86931 | 0.6404 | 0.73074 | 0.42652 | [plot](https://huggingface.co/deepghs/real_face_detection/blob/main/face_detect_v0_s_yv12/F1_curve.png) | [confusion](https://huggingface.co/deepghs/real_face_detection/blob/main/face_detect_v0_s_yv12/confusion_matrix_normalized.png) | `face` | | face_detect_v0_n_yv12 | yolo | 6.48G | 2.57M | 0.7 | 0.258 | 0.85246 | 0.59089 | 0.6793 | 0.39182 | [plot](https://huggingface.co/deepghs/real_face...

Source context: 0 downloads · 0 likes · Pipeline object-detection · Library dghs-imgutils · Repo Library-Mutsumi/real_face_detection