Downloads · 30 days
35
21% of all-time downloads
P-khosravi/manhole-detection-yolo26
manhole-detection-yolo26 is a object detection model from P-khosravi. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as agpl-3.0.
Models trained by WeScan Solutions to find manholes, inspection covers and drainage grates in survey orthophotos, as part of the internal geo-object-detection R&D platform.
Downloads · 30 days
35
21% of all-time downloads
All-time downloads
169
Public
Repo size
226 MB
Likes
0
Public
Click a slice to open those files.
.pt226 MB · 100%
From the Hugging Face model README
Models trained by WeScan Solutions to find manholes, inspection covers and drainage grates in
survey orthophotos, as part of the internal geo-object-detection R&D platform.
They return masks as well as boxes, so each detection becomes a polygon that can be written straight to a GeoPackage in the orthophoto's own CRS.
| File | Task | Size | Classes |
|---|---|---|---|
TOMBINI4.pt | segmentation | 63 MB | Chiusino Rettangolare, Chiusino Circolare, Caditoia Rettangolare |
TOMBINI-HIGHRES.pt | segmentation | 142 MB | same |
Tombini_Classifier.pt | classification | 21 MB | background, circular_manhole, drainage_cover, rectangular_manhole |
Class names are Italian: chiusino = manhole cover, caditoia = drainage grate, rettangolare = rectangular, circolare = circular.
The two segmentation models are trained for different object scales and are not interchangeable:
| Weights | Asset size in the tile | Use for |
|---|---|---|
TOMBINI4.pt | large, roughly 100–250 px | close-range orthophotos, or tiles cropped around a candidate |
TOMBINI-HIGHRES.pt | small, roughly 10–25 px | full-resolution survey orthophoto mosaics at native GSD |
Running either at the wrong scale gives confident nonsense rather than an obvious failure. Measured on a 640 px tile whose ground truth is a single manhole about 180 px across:
TOMBINI4 → 1 detection, 205 px wide, confidence 0.60 — correctTOMBINI-HIGHRES → 6 detections, 13–19 px wide, confidence up to 0.68 — all spuriousBoth look plausible in a results table. Check one tile visually before a full run.
Detection training run, 50 epochs, yolo26m.pt base, 640 px, batch 24:
| Metric | Value |
|---|---|
| mAP50 | 0.822 |
| mAP50-95 | 0.768 |
| precision | 0.872 |
| recall | 0.787 |
from ultralytics import YOLO
from huggingface_hub import hf_hub_download
weights = hf_hub_download("P-khosravi/manhole-detection-yolo26", "TOMBINI4.pt")
model = YOLO(weights)
result = model.predict("orthophoto_tile.png", conf=0.30, imgsz=640)[0]
print(result.boxes, result.masks)
For a full orthophoto, use the tiled pipeline from the project repository, which handles overlapping tiles, seam merging and georeferenced export.
https://huggingface.co/spaces/P-khosravi/geo-object-detection
AGPL-3.0, following Ultralytics YOLO. Trained on WeScan survey data; the training imagery itself is client property and is not distributed.