{"title":"Lightweight target detection for large-field ddPCR images based on improved YOLOv5†","authors":"Xingyu Jin, Jing Yang, Xiaorui Jiang, Zhenqing Li, Jinrong Shen, Zhiheng Yu, Cunliang Yang, Fengli Huang, Dunlu Peng, Yoshinori Yamaguchi and Jijun Feng","doi":"10.1039/D5DD00006H","DOIUrl":null,"url":null,"abstract":"<p >The large-field rapid nucleic acid concentration measurement system is capable of achieving one-time gene chip imaging with high resolution. However, it encounters challenges in the precise detection of positive microchambers, which is caused by factors such as reagent residue, uneven lighting, and environmental noise. Herein we proposed an improved, lightweight algorithm based on You Only Look Once (YOLOv5) for detecting the positive microchambers. We determined appropriate detection scales based on the target size distribution and utilized the bidirectional feature pyramid network (BiFPN) for efficient multi-scale feature fusion. To reduce model size without sacrificing performance, GhostConv, C3Ghost, and a simple, parameter-free attention module (SimAM) were integrated into the network, followed by network pruning. The improved YOLOv5 model was trained on a self-built dataset, and employed a partitioned fusion prediction strategy to detect large-field ddPCR images by self-developed software. In contrast to single-stage lightweight object detection algorithms, our model features a mere 1.5MB size while achieving 99.5% precision, 99.5% recall, and a 78.1% mAP(0.5 : 0.95), significantly reducing the system's demand for computing resources without compromising efficiency and accuracy.</p>","PeriodicalId":72816,"journal":{"name":"Digital discovery","volume":" 5","pages":" 1298-1305"},"PeriodicalIF":6.2000,"publicationDate":"2025-04-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://pubs.rsc.org/en/content/articlepdf/2025/dd/d5dd00006h?page=search","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Digital discovery","FirstCategoryId":"1085","ListUrlMain":"https://pubs.rsc.org/en/content/articlelanding/2025/dd/d5dd00006h","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CHEMISTRY, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
The large-field rapid nucleic acid concentration measurement system is capable of achieving one-time gene chip imaging with high resolution. However, it encounters challenges in the precise detection of positive microchambers, which is caused by factors such as reagent residue, uneven lighting, and environmental noise. Herein we proposed an improved, lightweight algorithm based on You Only Look Once (YOLOv5) for detecting the positive microchambers. We determined appropriate detection scales based on the target size distribution and utilized the bidirectional feature pyramid network (BiFPN) for efficient multi-scale feature fusion. To reduce model size without sacrificing performance, GhostConv, C3Ghost, and a simple, parameter-free attention module (SimAM) were integrated into the network, followed by network pruning. The improved YOLOv5 model was trained on a self-built dataset, and employed a partitioned fusion prediction strategy to detect large-field ddPCR images by self-developed software. In contrast to single-stage lightweight object detection algorithms, our model features a mere 1.5MB size while achieving 99.5% precision, 99.5% recall, and a 78.1% mAP(0.5 : 0.95), significantly reducing the system's demand for computing resources without compromising efficiency and accuracy.
大视场核酸浓度快速测量系统能够实现一次性高分辨率基因芯片成像。然而,由于试剂残留、光照不均匀、环境噪声等因素的影响,该方法在阳性微室的精确检测方面遇到了挑战。在此,我们提出了一种基于You Only Look Once (YOLOv5)的改进的轻量级算法来检测阳性微室。根据目标尺寸分布确定合适的检测尺度,利用双向特征金字塔网络(bibidirectional feature pyramid network, BiFPN)进行高效的多尺度特征融合。为了在不牺牲性能的前提下减小模型大小,我们将GhostConv、C3Ghost和一个简单的无参数关注模块(SimAM)集成到网络中,然后对网络进行修剪。在自建数据集上对改进的YOLOv5模型进行训练,并利用自主开发的软件采用分区融合预测策略对大场ddPCR图像进行检测。与单阶段轻量级目标检测算法相比,我们的模型仅具有1.5MB的大小,但实现了99.5%的精度,99.5%的召回率和78.1%的mAP(0.5: 0.95),在不影响效率和准确性的情况下显着降低了系统对计算资源的需求。