| Literature DB >> 36118567 |
Juanyan Fang1,2, Jinbao Meng2, Xiaosong Liu3, Yan Li2, Ping Qi2, Changcheng Wei2.
Abstract
To address the issues of low detection accuracy and poor effect caused by small Oncomelania hupensis data samples and small target sizes. This article proposes the O. hupensis snails detection algorithm, the YOLOv5s-ECA-vfnet based on improved YOLOv5s, by using YOLOv5s as the basic target detection model and optimizing the loss function to improve target learning ability for specific regions. The experimental findings show that the snail detection method of the YOLOv5s-ECA-vfnet, the precision (P), the recall (R) and the mean Average Precision (mAP) of the algorithm are improved by 1.3%, 1.26%, and 0.87%, respectively. It shows that this algorithm has a good effect on snail detection. The algorithm is capable of accurately and rapidly identifying O. hupensis snails on different conditions of lighting, sizes, and densities, and further providing a new technology for precise and intelligent investigation of O. hupensiss snails for schistosomiasis prevention institutions.Entities:
Keywords: effective channel attention mechanism; method of coordinated attention; target detection; the YOLOv5; the YOLOv5 algorithm
Year: 2022 PMID: 36118567 PMCID: PMC9473633 DOI: 10.3389/fbioe.2022.861079
Source DB: PubMed Journal: Front Bioeng Biotechnol ISSN: 2296-4185
FIGURE 1The overall algorithm structure of YOLOv5.
FIGURE 2ECA attention module structure diagram.
Anchor Box allocation table.
| Feature map | 20*20 | 40*40 | 80*80 | 160*160 |
|---|---|---|---|---|
| Receptive field | Large | Larger | Medium | Small |
| Anchor boxes | (116,90) | (30,61) | (10,13) | (5,6) |
| (156,198) | (62,45) | (16,30) | (8,14) | |
| (373,326) | (59,119) | (33,23) | (15,11) |
FIGURE 3Data set sample.
FIGURE 4Example of data set annotation.
FIGURE 5Curve of the loss function value with the number of training rounds.
FIGURE 6Comparison of precision.
FIGURE 7Comparison of boxloss.
FIGURE 8Comparison of recall.
FIGURE 9Comparison of mAP.
Comparison with the YOLOv5s.
| Model | Images | P/% | R/% | mAP@0.5/% | Frame/Sec |
|---|---|---|---|---|---|
| Yolov5s | 2000 | 92.48 | 92.89 | 95.51 | 61 |
| YOLOv5s-ECA-vfnet | 2000 | 93.78 | 94.15 | 96.38 | 55 |
FIGURE 10The result of object detection. (A,C) The prediction of the YOLOv5s; (B,D) The prediction of the YOLOv5-ECA-vfnet; The red rectangular boxes are the probability values of the algorithms to identify the pictures containing the snails, and the three yellow boxes are snails that YOLOv5s cannot detect in (A). The improved algorithm can detect the snails in (B). (C,D) are different in the predicted probability values.