Swimming pool detector (YOLO11m, Cannes + Netherlands)
YOLO11m trained on two aerial datasets, all tiles at 20 cm/px, 640x640, single class pool:
- Kaggle
alexj21/swimming-pool-512x512(Cannes, France), padded to 640 px, with pseudo-labels for missing pools - Roboflow
poolfinder/pools-tutudv5 (Netherlands, CC BY 4.0),pool+covered-pool, rescaled from 8 cm/px
Test mAP50 (rows: model, columns: test set):
| model | cannes | nl | nl_cov |
|---|---|---|---|
| cannes640 | 0.972 | 0.804 | 0.786 |
| merged | 0.971 | 0.867 | 0.893 |
| nl | 0.908 | 0.897 | 0.864 |
| nl_cov | 0.909 | 0.856 | 0.905 |
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
model = YOLO(hf_hub_download("fishfan14/pools-yolo11m-merged", "weights/best.pt"))
# for 25 cm/px imagery (e.g. Polish orthophoto at 640 px) use imgsz=832 to match the 20 cm/px training scale
results = model.predict("tile.png", imgsz=832, conf=0.25, iou=0.5)