skip to content
gigarouter gigarouter
models / specialist model · coming soon

ADetailer YOLOv8

Bingsu/adetailer

published Apr 2023 · updated Nov 2024

ADetailer YOLOv8 is a collection of object detection and instance segmentation models that detect faces, hands, persons, and clothing items in images.

status
coming soon
API providers
0
downloads / mo
12.1M
license
apache-2.0

specs

TaskObject Detection & Instance Segmentation
ArchitectureYOLOv8 (n, s, m, v9c variants)
InputImage (PIL, OpenCV, or URL)
OutputBounding boxes, confidence scores, optional segmentation masks

about this model

Bingsu/adetailer is a collection of YOLOv8 and YOLOv9 object detection and instance segmentation models specialized for anime and realistic imagery, targeting faces, hands, persons, and clothing. The models are trained on curated datasets including Anime Face CreateML, WIDER Face, AnHDet, COCO2017 (person class), AniSeg, skytnt/anime-segmentation, and DeepFashion2. Key strengths include high mean average precision (mAP) across multiple model sizes and targets. For face detection, the face_yolov9c.pt model achieves a mAP50 of 0.748 and mAP50-95 of 0.433. For hand detection, hand_yolov9c.pt reaches a mAP50 of 0.810 and mAP50-95 of 0.550. Person segmentation models (e.g., person_yolov8m-seg.pt) achieve a mAP50 of 0.849 for bounding boxes and 0.831 for masks. The deepfashion2_yolov8s-seg.pt model for clothing segmentation attains a mAP50 of 0.849 (bbox) and 0.840 (mask), with a mAP50-95 of 0.763 (bbox) and 0.675 (mask). The models are trained on diverse datasets: face models use Anime Face CreateML and WIDER Face; hand models use AnHDet and hand-detection-fuao9; person models use COCO2017, AniSeg, and skytnt/anime-segmentation (a ~18GB dataset of background, foreground, and mask images under CC0-1.0); clothing models use DeepFashion2. The skytnt/anime-segmentation dataset includes 8,057 background images, 11,802 foreground images, and 1,111 real images with masks, sourced from Danbooru and AniSeg, with backgrounds restored via Real-ESRGAN and cleaned using DeepDanbooru plus manual review. The following table summarizes available model variants and their benchmark performance:
ModelTargetmAP50mAP50-95
face_yolov8n.pt2D / realistic face0.6600.366
face_yolov8n_v2.pt2D / realistic face0.6690.372
face_yolov8s.pt2D / realistic face0.7130.404
face_yolov8m.pt2D / realistic face0.7370.424
face_yolov9c.pt2D / realistic face0.7480.433
hand_yolov8n.pt2D / realistic hand0.7670.505
hand_yolov8s.pt2D / realistic hand0.7940.527
hand_yolov9c.pt2D / realistic hand0.8100.550
person_yolov8n-seg.pt2D / realistic person0.782 (bbox) / 0.761 (mask)0.555 (bbox) / 0.460 (mask)
person_yolov8s-seg.pt2D / realistic person0.824 (bbox) / 0.809 (mask)0.605 (bbox) / 0.508 (mask)
person_yolov8m-seg.pt2D / realistic person0.849 (bbox) / 0.831 (mask)0.636 (bbox) / 0.533 (mask)
deepfashion2_yolov8s-seg.ptrealistic clothes0.849 (bbox) / 0.840 (mask)0.763 (bbox) / 0.675 (mask)
The deepfashion2 model supports 13 clothing categories including short_sleeved_shirt, trousers, skirt, and dress variants. All models are created using the official ultralytics library and are hosted as managed APIs on gigarouter.

best for

FAQ

What variants are available?

The collection includes face_yolov8n, face_yolov8s, face_yolov8m, face_yolov9c, hand_yolov8n, hand_yolov8s, hand_yolov9c, person_yolov8n-seg, person_yolov8s-seg, person_yolov8m-seg, and deepfashion2_yolov8s-seg.

What performance do the models achieve?

mAP 50 ranges from 0.66 to 0.85 depending on variant and target (face, hand, person, clothing). The card provides specific mAP 50 and mAP 50-95 for each.

How can I call this model via the gigarouter API?

Use the gigarouter OpenAI-compatible endpoint with your API key, passing the image as a base64 string or URL and specifying the desired model variant.

Are the models safe to load?

Yes, they were created with the official ultralytics library and are from a trusted source, though the Hugging Face hub flags segmentation models as unsafe due to use of getattr.

not yet live

We're benchmarking and onboarding ADetailer YOLOv8 as a hosted, OpenAI-compatible API. Sign in for free credit and be ready when it lands, or tell us you want it and we'll prioritize it.

related specialist model models

compare all →