Multi-Task Water Quality Colorimetric Detection Method Based on Deep Learning
Open Access
Abstract
The colorimetric method, due to its rapid and low-cost characteristics, demonstrates a wide range of application prospects in on-site water quality testing. Current research on colorimetric detection using deep learning algorithms predominantly focuses on single-target classification. To address this limitation, we propose a multi-task water quality colorimetric detection method based on YOLOv8n, leveraging deep learning techniques to achieve a fully automated process of “image input and result output”. Initially, we constructed a dataset that encompasses colorimetric sensor data under varying lighting conditions to enhance model generalization. Subsequently, to effectively improve detection accuracy while reducing model parameters and computational load, we implemented several improvements to the deep learning algorithm, including the MGFF (Multi-Scale Grouped Feature Fusion) module, the LSKA-SPPF (Large Separable Kernel Attention-Spatial Pyramid Pooling-Fast) module, and the GNDCDH (Group Norm Detail Convolution Detection Head). Experimental results demonstrate that the optimized deep learning algorithm excels in precision (96.4%), recall (96.2%), and mAP50 (98.3), significantly outperforming other mainstream models. Furthermore, compared to YOLOv8n, the parameter count and computational load were reduced by 25.8% and 25.6%, respectively. Additionally, precision improved by 2.8%, recall increased by 3.5%, mAP50 enhanced by 2%, and mAP95 rose by 1.9%. These results affirm the substantial potential of our proposed method for rapid on-site water quality detection, offering new technological insights for future water quality monitoring.Keywords
Funding Information
- National Natural Science Foundation of China (22064008, 20210217–1, 2020010323, AB22080068)
- Scientific Research and Technology Development Plan of Guilin, China (22064008, 20210217–1, 2020010323, AB22080068)
- Key Research and Development Program of Guilin, China (22064008, 20210217–1, 2020010323, AB22080068)
- Key Research and Development Plan Project of Guangxi, China (22064008, 20210217–1, 2020010323, AB22080068)
This publication has 29 references indexed in Scilit:
- A wind turbine damage detection algorithm designed based on YOLOv8Applied Soft Computing, 2024
- Visual attention networkComputational Visual Media, 2023
- Nanomesh‐YOLO: Intelligent Colorimetry E‐Skin Based on Nanomesh and Deep Learning Object Detection AlgorithmAdvanced Functional Materials, 2023
- Predicting Water Quality with Artificial Intelligence: A Review of Methods and ApplicationsArchives of Computational Methods in Engineering, 2023
- Deep learning-assisted ultra-accurate smartphone testing of paper-based colorimetric ELISA assaysAnalytica Chimica Acta, 2023
- Chip-Based High-Dimensional Optical Neural NetworkNano-Micro Letters, 2022
- Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based LocalizationInternational Journal of Computer Vision, 2019
- Medical Image Analysis using Convolutional Neural Networks: A ReviewJournal of Medical Systems, 2018
- Solid phase extraction of Cd(II) and Pb(II) using a magnetic metal-organic framework, and their determination by FAASMicrochimica Acta, 2013
- Determination of cadmium and lead in human biological samples by spectrometric techniques: a reviewEnvironmental Monitoring and Assessment, 2009