A multi-head YOLOv12 with self-supervised pretraining for urinary sediment particle detection
Open Access
- 21 November 2025
- journal article
- Published by Springer Nature in Scientific Reports
- Vol. 15 (1) , 41347
Abstract
Automatic and reliable urine sediment analysis is essential for timely diagnosis and management of renal and urinary disorders. However, manual methods are time-consuming, subjective, and limited by operator abilities. In this study, we propose a novel deep learning method based on a multi-head YOLOv12 architecture combined with self-supervised pretraining and advanced inference through Slicing Aided Hyper Inference (SAHI) to effectively address these challenges. Unlike prior methods that employed a single detection head, our architecture features six specialized and independent detection heads: Cells, Casts, Crystals, Microorganisms/Yeast, Artifact, and Others, enabling simultaneous and fine-grained classification of the full spectrum of urine sediment particles, including all relevant subclasses. To facilitate robust training, we created a large-scale dataset (OpenUrine) encompassing 790 labeled images with over 31,285 bounding boxes across 39 categories, and 5640 unlabeled images for self-supervised learning. Evaluated on this complex 39-class dataset, our model achieved a precision of 76.59% and a mean Average Precision (mAP) of 64.15%, demonstrating competitive performance in detection accuracy, especially of small and low-contrast objects.Keywords
This publication has 54 references indexed in Scilit:
- YOLOv11-SAMNet: A Hybrid Detection and Segmentation Framework for Urine Sediment Analysis2025
- Swin-LBP: a competitive feature engineering model for urine sediment classificationNeural Computing and Applications, 2023
- Automated Urine Cell Image Classification Model Using Chaotic Mixer Deep Feature ExtractionJournal of Digital Imaging, 2023
- Exploring Plain Vision Transformer Backbones for Object Detection2022
- Inspection of visible components in urine based on deep learningMedical Physics, 2020
- Urine Sediment Detection Based on Deep Learning2019
- An End-to-End System for Automatic Urinary Particle Recognition with Convolutional Neural NetworkJournal of Medical Systems, 2018
- SSD: Single Shot MultiBox Detector2016
- A New Method Based on Adaptive Discrete Wavelet Entropy Energy and Neural Network Classifier (ADWEENN) for Recognition of Urine Cells from Microscopic Images Independent of Rotation and ScalingJournal of Medical Systems, 2014
- Microsoft COCO: Common Objects in Context2014