Integrated Urine Crystal Detection and Classification Using Sensor Data and YOLOv8 Imaging

Kidney stones are a prevalent and painful urological condition affecting up to 10% of the global population, particularly men aged 30 to 60. Early detection is essential to prevent complications such as nephrolithiasis and chronic kidney disease. This study presents an integrated system that combines chemical and imaging-based urine analysis to detect and classify urine crystals while measuring pH and turbidity. The system utilizes a pH sensor (PH-4502C) and a turbidity sensor (SENO189), whose outputs are interpreted through logistic regression. Imaging is conducted using a Raspberry Pi High-Quality Camera mounted on a microscope, and crystal classification is performed using the YOLOv8 object detection model trained on labeled datasets of calcium oxalate and triple phosphate crystals. All modules are operated through a Raspberry Pi 4 Model B. Validation with 30 clinical urine samples demonstrated high concordance with standard laboratory results. The system achieved an R² value of 0.983 for pH detection, 96.67% accuracy in turbidity classification, and an R² of 0.976 with a mean absolute error of 0.733 for crystal counting. Overall risk assessment achieved 96.67% accuracy, 100% precision, 88.89% recall, and an F1 score of 94.12%. These results confirm the system’s accuracy, reliability, and suitability for practical use. It offers a low-cost, noninvasive, and real-time solution for early kidney stone detection, with strong potential for application in point-of-care diagnostic settings.

Publication Details

Journal
International Journal of Electrical and Electronics Engineering
Published
2025-08-31
DOI
https://doi.org/10.14445/23488379/ijeee-v12i8p106
Primary Topic
Advanced Chemical Sensor Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Integrated Urine Crystal Detection and Classification Using Sensor Data and YOLOv8 Imaging

International Journal of Electrical and Electronics Engineering
Advanced Chemical Sensor Technologies
article

Integrated Urine Crystal Detection and Classification Using Sensor Data and YOLOv8 Imaging

article en

Abstract

Kidney stones are a prevalent and painful urological condition affecting up to 10% of the global population, particularly men aged 30 to 60. Early detection is essential to prevent complications such as nephrolithiasis and chronic kidney disease. This study presents an integrated system that combines chemical and imaging-based urine analysis to detect and classify urine crystals while measuring pH and turbidity. The system utilizes a pH sensor (PH-4502C) and a turbidity sensor (SENO189), whose outputs are interpreted through logistic regression. Imaging is conducted using a Raspberry Pi High-Quality Camera mounted on a microscope, and crystal classification is performed using the YOLOv8 object detection model trained on labeled datasets of calcium oxalate and triple phosphate crystals. All modules are operated through a Raspberry Pi 4 Model B. Validation with 30 clinical urine samples demonstrated high concordance with standard laboratory results. The system achieved an R² value of 0.983 for pH detection, 96.67% accuracy in turbidity classification, and an R² of 0.976 with a mean absolute error of 0.733 for crystal counting. Overall risk assessment achieved 96.67% accuracy, 100% precision, 88.89% recall, and an F1 score of 94.12%. These results confirm the system’s accuracy, reliability, and suitability for practical use. It offers a low-cost, noninvasive, and real-time solution for early kidney stone detection, with strong potential for application in point-of-care diagnostic settings.

International Journal of Electrical and Electronics EngineeringVol. 12(8)
Openalex Percentile: Top 78%
Advanced Chemical Sensor Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.