Research on YOLOv5 algorithm and its application for accurate and rapid detection of ochratoxin A in agricultural samples
Authors:
- MingNa SunMSMingNa Sun
- Guizhu WuGWGuizhu Wu
- Jiayun FuJFJiayun Fu
- Jingjing ZhongJZJingjing Zhong
- Guoxing LiuGLGuoxing Liu
- Ming LiMing Li
- Jinsheng DuanJDJinsheng Duan
Preprint
- 14 September 2026
- preprint
- Published by Elsevier in SSRN Electronic Journal
Abstract
Ochratoxin A (OTA) is a highly toxic mycotoxin prevalent in agricultural samples. In order to overcome the limitations of traditional detection methods, this study developed a rapid visual detection system based on deep learning by optimizing the YOLOv5 algorithm. Through integrating attention mechanism to enhance color feature extraction and employing dilated convolutions to expand the receptive field, the proposed Efficient-YOLOv5 algorithm significantly improved the accuracy of OTA concentration identification. Comparative experiments demonstrated the superior performance of Efficient-YOLOv5, with mean average precision (mAP) increasing from 92.86% to 97.65%, precision from 93.34% to 95.73%, recall from 91.67% to 92.68%, and F1-score from 90.34% to 91.69%. Validation on real agricultural samples further confirmed the high accuracy of the method, yielding a detection error of 0.04 compared to standard concentration and 0.25% under simulated scenarios. The optimized loss function achieved a mAP value of 91.37%, precision of 91.86%, and F1-score of 88.26%, highlighting its efficiency, accuracy and high-throughput potential. By combining visual data with deep learning, the proposed detection system offered a promising framework for the rapid, accurate and efficient identification and detection of OTA.Keywords
This publication has 16 references indexed in Scilit:
- Tri-mode fluorescence/colorimetric/strip aptasensor with CRISPR/Cas12a-driven cascade strategy for mycotoxinCurrent Research in Food Science, 2026
- Automatic body condition scoring system for dairy cows in group state based on improved YOLOv5 and video analysisArtificial Intelligence in Agriculture, 2025
- Weed detection in cotton farming by YOLOv5 and YOLOv8 object detectorsEuropean Journal of Agronomy, 2025
- Nondestructive detection of cadmium content in oilseed rape leaves under different silicon environments using deep transfer learning and Vis-NIR hyperspectral imagingFood Chemistry, 2025
- Integrating magnetic-plasmonic and membrane-like nanotags for the sensitive and reliable detection of aflatoxin B1 in foodstuffsFood Control, 2025
- Establishment, application and comparison of three immunoaffinity pretreatment techniques for mycotoxins systematicallyJournal of Food Measurement and Characterization, 2024
- Deep learning enhanced multiplex detection of viable foodborne pathogens in digital microfluidic chipBiosensors and Bioelectronics, 2023
- Machine learning constructs color features to accelerate development of long-term continuous water quality monitoringJournal of Hazardous Materials, 2023
- Endocrine activity of mycotoxins and mycotoxin mixturesFood and Chemical Toxicology, 2016
- Rapid and automatable determination of ochratoxin A in wine based on microextraction by packed sorbent followed by HPLC-FLDFood Control, 2016