YOLO26n Face Detection
Fine-tuned YOLO26n (nano) model for single-class face detection, trained on the WIDER FACE dataset.
Installation
pip install ultralytics huggingface_hub
Quick Start / Usage
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
# Download weights from this Hugging Face repository
path = hf_hub_download(repo_id="Shubham12864/YOLO26n-face", filename="yolo26 widerdataset.pt")
# Load model
model = YOLO(path)
# Run detection on an image
results = model.predict("your_image.jpg")
# Display results
results[0].show()
Model Details
- Model Architecture: YOLO26 nano (YOLO26n)
- Task: Single-class Object Detection (
face) - Dataset: WIDER FACE
- Framework: Ultralytics / PyTorch