42
21

Rip Current Segmentation: A Novel Benchmark and YOLOv8 Baseline Results

Abstract

Rip currents are the leading cause of fatal accidents and injuries on many beaches worldwide, emphasizing the importance of automatically detecting these hazardous surface water currents. In this paper, we address a novel task: rip current instance segmentation. We introduce a comprehensive dataset containing 2,4662,466 images with newly created polygonal annotations for instance segmentation, used for training and validation. Additionally, we present a novel dataset comprising 1717 drone videos (comprising about 24K24K frames) captured at 30FPS30 FPS, annotated with both polygons for instance segmentation and bounding boxes for object detection, employed for testing purposes. We train various versions of YOLOv8 for instance segmentation on static images and assess their performance on the test dataset (videos). The best results were achieved by the YOLOv8-nano model (runnable on a portable device), with an mAP50 of 88.9488.94% on the validation dataset and 81.2181.21% macro average on the test dataset. The results provide a baseline for future research in rip current segmentation. Our work contributes to the existing literature by introducing a detailed, annotated dataset, and training a deep learning model for instance segmentation of rip currents. The code, training details and the annotated dataset are made publicly available atthis https URL.

View on arXiv
@article{dumitriu2025_2504.02558,
  title={ Rip Current Segmentation: A Novel Benchmark and YOLOv8 Baseline Results },
  author={ Andrei Dumitriu and Florin Tatui and Florin Miron and Radu Tudor Ionescu and Radu Timofte },
  journal={arXiv preprint arXiv:2504.02558},
  year={ 2025 }
}
Comments on this paper