Downloads · 30 days
285
18% of all-time downloads
AmineSam/irail-crowd-counting-yolov8n
irail-crowd-counting-yolov8n is a object detection model from AmineSam. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as cc-by-sa-4.0.
This repository contains a YOLOv8n (nano) model fine-tuned for pedestrian head detection in crowded environments (railway platforms + event entrances). The main objective is crowd counting per frame by detecting heads…
Downloads · 30 days
285
18% of all-time downloads
All-time downloads
1.6K
Public
Repo size
6.3 MB
Likes
0
Public
Click a slice to open those files.
.pt6.3 MB · 98%
From the Hugging Face model README
This repository contains a YOLOv8n (nano) model fine-tuned for pedestrian head detection in crowded environments (railway platforms + event entrances).
The main objective is crowd counting per frame by detecting heads and counting bounding boxes.
This model is designed as an educational baseline for an iRail/Azure project extension where the iRail API does not provide occupancy, so we estimate a proxy crowd level from images/frames.
head (single class)conf=0.25iou=0.75max_det=300Trained on RPEE-Heads (Railway Platforms and Event Entrances-Heads) with head bounding boxes.
Paper reference:
RPEE-Heads Benchmark: A Dataset and Empirical Comparison of Deep Learning Algorithms for Pedestrian Head Detection in Crowds
Mohamad Abubaker, Zubaida AlSadder, Hamed Abdelhaq, Maik Boltes, Ahmed Alia
DOI: 10.34735/ped.2024.2
Dataset URL: http://ped.fz-juelich.de/da/2024rpee_heads
Ultralytics validation metrics on Val/Test (single class: head):
Validation (246 images / 16,022 instances)
Test (294 images / 15,285 instances)
Counting is computed as:
predicted_count = number of detected boxes (after NMS at chosen conf and iou).
Baseline counting settings:
imgsz=832, conf=0.25, iou=0.75Metrics
Amine Samoudi - GitHub: @AmineSam