Runware/adetailer
13.8k
YOLOv8 Detection Model
Datasets
Face
Hand
Person
- coco2017 (only person)
- AniSeg
- skytnt/anime-segmentation
deepfashion2
Info
Usage
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
path = hf_hub_download("Bingsu/adetailer", "face_yolov8n.pt")
model = YOLO(path)import cv2
from PIL import Image
img = "https://farm5.staticflickr.com/4139/4887614566_6b57ec4422_z.jpg"
output = model(img)
pred = output[0].plot()
pred = cv2.cvtColor(pred, cv2.COLOR_BGR2RGB)
pred = Image.fromarray(pred)
pred
Unsafe files

Since getattr is classified as a dangerous pickle function, any segmentation model that uses it is classified as unsafe.
All models were created and saved using the official ultralytics library, so it's okay to use files downloaded from a trusted source.
See also: https://huggingface.co/docs/hub/security-pickle
