Skip to content
ModelListedExternal
Download

Real Head Detection

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

KindOtherVersionRevision 57aaee0

Model source

Kind
Other
File size
5.24–167 MB
Version
vRevision 57aaee0
Updated
Sep 22, 2026
Downloads
0
Source
Hugging Face

Source description

These models are trained on deepghs/anime_head_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_heads

print(detect_heads('yolo/solo.jpg'))
# [((162, 47, 305, 210), 'head', 0.7701659202575684)]
print(detect_heads('yolo/2girls.jpg'))
# [((683, 48, 1199, 754), 'head', 0.8410779237747192), ((105, 91, 570, 734), 'head', 0.8339194059371948)]
print(detect_heads('yolo/3+cosplay.jpg'))
# [((329, 194, 426, 309), 'head', 0.8123012781143188), ((359, 20, 448, 122), 'head', 0.8047150373458862), ((185, 81, 265, 166), 'head', 0.7797152996063232)]
print(detect_heads('yolo/multiple.jpg'))
# [((867, 259, 1084, 527), 'head', 0.8264595866203308), ((1364, 448, 1583, 724), 'head', 0.8254891633987427), ((480, 201, 781, 565), 'head', 0.8191508054733276), ((1189, 175, 1398, 412), 'head', 0.8097156286239624), ((1028, 671, 1277, 992), 'head', 0.8084591627120972)]

For more information, see documentation of realutils.

ModelTypeFLOPSParamsF1 ScoreThresholdprecision(B)recall(B)mAP50(B)mAP50-95(B)F1 PlotConfusionLabels
head_detect_v0_l_yv11yolo87.3G25.3M0.810.1990.902260.728720.810490.5109plotconfusionhead
head_detect_v0_m_yv11yolo68.2G20.1M0.80.2060.898550.726540.807040.50804plotconfusionhead
head_detect_v0_s_yv11yolo21.5G9.43M0.780.1870.887260.692340.775180.47825plotconfusionhead
head_detect_v0_n_yv11yolo6.44G2.59M0.740.140.873590.640110.733930.44118plotconfusionhead
head_detect_v0_lyolo165G43.6M0.810.2340.899210.740920.817150.51615plotconfusionhead
head_detect_v0_myolo79.1G25.9M0.80.2280.900060.726460.806140.50586plotconfusionhead
head_detect_v0_syolo28.6G11.1M0.780.1820.892240.693820.778040.48067plotconfusionhead
head_detect_v0_nyolo8.19G3.01M0.740.1720.87280.648230.738650.44501plotconfusionhead

Sources

1 source
Hugging FacePrimaryVersion 57aaee015e89346ab214170ea1f3d472d9125730
huggingface.co/Library-Mutsumi/real_head_detection/tree/57aaee015e89346ab214170ea1f3d472d9125730

Verified Sep 9

Model artifacts

16 artifacts

head_detect_v0_l_yv11/model.onnx

onnx · 96.7 MB · SHA-256 358dfacf75c9…ca97 · Hugging Face

Download

head_detect_v0_l_yv11/model.pt

pt · 48.9 MB · SHA-256 fb1d957eb5f7…d7d0 · Hugging Face

Download

head_detect_v0_l/model.onnx

onnx · 167 MB · SHA-256 04f0d711c8ea…8339 · Hugging Face

Download

head_detect_v0_l/model.pt

pt · 83.6 MB · SHA-256 ced2cea0d67f…e749 · Hugging Face

Download

head_detect_v0_m_yv11/model.onnx

onnx · 76.6 MB · SHA-256 89d2e4126abf…84c4 · Hugging Face

Download

head_detect_v0_m_yv11/model.pt

pt · 38.7 MB · SHA-256 c40834298a03…3cdc · Hugging Face

Download

head_detect_v0_m/model.onnx

onnx · 98.7 MB · SHA-256 24dcf615b5df…2f23 · Hugging Face

Download

head_detect_v0_m/model.pt

pt · 49.6 MB · SHA-256 e429a0eb7191…75ec · Hugging Face

Download

head_detect_v0_n_yv11/model.onnx

onnx · 10.00 MB · SHA-256 8f6929a224c0…0a2b · Hugging Face

Download

head_detect_v0_n_yv11/model.pt

pt · 5.24 MB · SHA-256 cf3379cd7284…0ee6 · Hugging Face

Download

head_detect_v0_n/model.onnx

onnx · 11.6 MB · SHA-256 955b2aca0e3f…df3d · Hugging Face

Download

head_detect_v0_n/model.pt

pt · 5.97 MB · SHA-256 da0094880f97…2795 · Hugging Face

Download

head_detect_v0_s_yv11/model.onnx

onnx · 36.1 MB · SHA-256 a57006040b11…b50b · Hugging Face

Download

head_detect_v0_s_yv11/model.pt

pt · 18.3 MB · SHA-256 3d986ad9dfe7…fc56 · Hugging Face

Download

head_detect_v0_s/model.onnx

onnx · 42.5 MB · SHA-256 811cd5f61084…76bf · Hugging Face

Download

head_detect_v0_s/model.pt

pt · 21.5 MB · SHA-256 03ca026d00d9…e98f · Hugging Face

Download

Source excerpts

2 excerpts

--- datasets: - deepghs/real_head_detection - deepghs/anime_head_detection pipeline_tag: object-detection library_name: dghs-imgutils tags: - art - anime - photo - head --- These models are trained on [deepghs/anime_head_detection](https://huggingface.co/deepghs/anime_head_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_heads print(detect_heads('yolo/solo.jpg')) # [((162, 47, 305, 210), 'head', 0.7701659202575684)] print(detect_heads('yolo/2girls.jpg')) # [((683, 48, 1199, 754), 'head', 0.8410779237747192), ((105, 91, 570, 734), 'head', 0.8339194059371948)] print(detect_heads('yolo/3+cosplay.jpg')) # [((329, 194, 426, 309), 'head', 0.8123012781143188), ((359, 20, 448, 122), 'head', 0.8047150373458862), ((185, 81, 265, 166), 'head', 0.7797152996063232)] print(detect_heads('yolo/multiple.jpg')) # [((867, 259, 1084, 527), 'head', 0.8264595866203308), ((1364, 448, 1583, 724), 'head', 0.8254891633987427), ((480, 201, 781, 565), 'head', 0.8191508054733276), ((1189, 175, 1398, 412), 'head', 0.8097156286239624), ((1028, 671, 1277, 992), 'head', 0.8084591627120972)] ``` For more information, see [documentation of realutils](https://dghs-realutils.deepghs.org/main/api_doc/detect/head.html). | Model | Type | FLOPS | Params | F1 Score | Threshold | precision(B) | recall(B) | mAP50(B) | mAP50-95(B) | F1 Plot | Confusion | Labels | |:---------------------:|:------:|:-------:|:--------:|:----------:|:-----------:|:--------------:|:-----------:|:----------:|:-------------:|:-------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------:|:--------:| | head_detect_v0_l_yv11 | yolo | 87.3G | 25.3M | 0.81 | 0.199 | 0.90226 | 0.72872 | 0.81049 | 0.5109 | [plot](https://huggingface.co/deepghs/real_head_detection/blob/main/head_detect_v0_l_yv11/F1_curve.png) | [confusion](https://huggingface.co/deepghs/real_head_detection/blob/main/head_detect_v0_l_yv11/confusion_matrix_normalized.png) | `head` | | head_detect_v0_m_yv11 | yolo | 68.2G | 20.1M | 0.8 | 0.206 | 0.89855 | 0.72654 | 0.80704 | 0.50804 | [plot](https://huggingface.co/deepghs/real_head_d...

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