| Literature DB >> 36092001 |
Kaung Myat Naing1, Siridech Boonsang2, Santhad Chuwongin1, Veerayuth Kittichai3, Teerawat Tongloy1, Samrerng Prommongkol4, Paron Dekumyoy5, Dorn Watthanakulpanich5.
Abstract
Background: Object detection is a new artificial intelligence approach to morphological recognition and labeling parasitic pathogens. Due to the lack of equipment and trained personnel, artificial intelligence innovation for searching various parasitic products in stool examination will enable patients in remote areas of undeveloped countries to access diagnostic services. Because object detection is a developing approach that has been tested for its effectiveness in detecting intestinal parasitic objects such as protozoan cysts and helminthic eggs, it is suitable for use in rural areas where many factors supporting laboratory testing are still lacking. Based on the literatures, the YOLOv4-Tiny produces faster results and uses less memory with the support of low-end GPU devices. In comparison to the YOLOv3 and YOLOv3-Tiny models, this study aimed to propose an automated object detection approach, specifically the YOLOv4-Tiny model, for automatic recognition of intestinal parasitic products in stools.Entities:
Keywords: Object detection approach; Parasite image dataset; Parasite products recognition; Parasitic products; YOLO
Year: 2022 PMID: 36092001 PMCID: PMC9455271 DOI: 10.7717/peerj-cs.1065
Source DB: PubMed Journal: PeerJ Comput Sci ISSN: 2376-5992
Figure 1YOLO-based model flowchart for training and testing process of Parasite Products Recognition.
Figure 2The total 34 classes of parasitic objects: (A) protozoan cysts and (B) helminthic eggs.
The random division of the image dataset for training and testing process.
| Classes | Abbreviation (Abb.) in labeling images | Abb. in confusion matrix | No. of images | Training (90%) | Testing (10%) | |
|---|---|---|---|---|---|---|
|
| ||||||
| 1 |
|
| EHI | 35 | 31 | 4 |
| 2 |
|
| ECO | 62 | 56 | 6 |
| 3 |
|
| ENA | 76 | 68 | 8 |
| 4 |
|
| IBU | 44 | 40 | 4 |
| 5 | BLA | 41 | 37 | 4 | ||
| 6 |
|
| GDU | 91 | 82 | 9 |
|
| ||||||
| 7 | ALF | 173 | 156 | 17 | ||
| 8 | ALU | 29 | 26 | 3 | ||
| 9 | ALD | 43 | 39 | 4 | ||
| 10 |
|
| EVR | 33 | 30 | 3 |
| 11 |
|
| TRI | 33 | 30 | 3 |
| 12 | Hookworm | Hookworm | HOO | 28 | 25 | 3 |
| 13 |
|
| STE | 44 | 40 | 4 |
| 14 |
|
| TOR | 18 | 16 | 2 |
| 15 | TOX | 71 | 64 | 7 | ||
| 16 |
|
| CPH | 33 | 30 | 3 |
| 17 |
|
| FBU | 72 | 65 | 7 |
| 18 | ECH | 28 | 25 | 3 | ||
| 19 | Haplorchis spp. | HAP | 39 | 35 | 4 | |
| 20 |
|
| GHO | 45 | 40 | 5 |
| 21 |
|
| SJA | 24 | 22 | 2 |
| 22 |
|
| SME | 68 | 61 | 7 |
| 23 |
|
| SMA | 89 | 80 | 9 |
| 24 |
|
| SHA | 34 | 31 | 3 |
| 25 |
|
| OVI | 50 | 45 | 5 |
| 26 |
|
| EPA | 26 | 23 | 3 |
| 27 | FAS | 31 | 28 | 3 | ||
| 28 | PAR | 121 | 109 | 12 | ||
| 29 | TAE | 53 | 48 | 5 | ||
| 30 |
|
| HNA | 29 | 26 | 3 |
| 31 |
|
| HDI | 53 | 48 | 5 |
| 32 |
|
| DCA | 62 | 56 | 6 |
| 33 |
|
| DLA | 35 | 31 | 4 |
| 34 | SPI | 60 | 54 | 6 | ||
|
| 1,773 | 1,597 | 176 | |||
Figure 3Image augmentation for training dataset.
Figure 4Image augmentation for testing dataset.
Figure 5The architecture of the YOLOv4-Tiny model.
Figure 6Schematic of YOLOv4-Tiny object detection algorithm for parasite egg detection.
Hyper-parameters for training of YOLOv3 and YOLOv3-Tiny model.
| Parameters | Values |
|---|---|
| Batch size | 64 |
| Maximum batches | 500200 |
| Subdivision | 16 |
| Momentum | 0.9 |
| Weight decay | 0.005 |
| Activation function | Leaky ReLU, Linear |
| Base learning rate | 0.001 |
| Step value | [400000, 450000] |
| Learning rate scale | [0.1, 0.1] |
Figure 7Some recognition results.
(A) Protozoan cysts recognition using YOLOv4-Tiny models, (B) helminthic eggs recognition using YOLOv4-Tiny model, (C) the detection rate comparison using the three YOLO models.
Figure 8Confusion matrix for YOLOv4-Tiny model.
Figure 10Confusion matrix for YOLOv3 model.
Class-wise precision, sensitivity and F1 score of the YOLOv4-Tiny model.
| Class | Precision (%) | Sensitivity (%) | F1 score (%) | No. of testing images |
|---|---|---|---|---|
|
| ||||
|
| 100.00 | 100.00 | 100.00 | 108 |
|
| 100.00 | 100.00 | 100.00 | 162 |
|
| 100.00 | 99.07 | 99.53 | 216 |
|
| 100.00 | 96.30 | 98.11 | 108 |
| 100.00 | 100.00 | 100.00 | 108 | |
|
| 92.40 | 100.00 | 96.05 | 243 |
|
| ||||
| 98.50 | 100.00 | 99.24 | 459 | |
| 100.00 | 66.67 | 80.00 | 81 | |
| 80.00 | 100.00 | 88.89 | 108 | |
|
| 100.00 | 100.00 | 100.00 | 81 |
|
| 88.71 | 67.90 | 76.92 | 81 |
| Hookworm | 100.00 | 66.67 | 80.00 | 81 |
|
| 98.18 | 100.00 | 99.08 | 108 |
|
| 50.00 | 50.00 | 50.00 | 54 |
| 100.00 | 100.00 | 100.00 | 189 | |
|
| 100.00 | 100.00 | 100.00 | 81 |
|
| 100.00 | 84.66 | 91.69 | 189 |
| 85.26 | 100.00 | 92.05 | 81 | |
| 100.00 | 100.00 | 100.00 | 108 | |
|
| 97.12 | 100.00 | 98.54 | 135 |
|
| 100.00 | 100.00 | 100.00 | 54 |
|
| 100.00 | 100.00 | 100.00 | 189 |
|
| 100.00 | 100.00 | 100.00 | 243 |
|
| 100.00 | 100.00 | 100.00 | 81 |
|
| 97.35 | 81.48 | 88.71 | 135 |
|
| 100.00 | 100.00 | 100.00 | 81 |
| 100.00 | 100.00 | 100.00 | 81 | |
| 89.77 | 97.53 | 93.49 | 324 | |
| 100.00 | 100.00 | 100.00 | 135 | |
|
| 100.00 | 88.89 | 94.12 | 81 |
|
| 100.00 | 100.00 | 100.00 | 135 |
|
| 98.58 | 85.80 | 91.75 | 162 |
|
| 100.00 | 75.00 | 85.71 | 108 |
| 85.71 | 100.00 | 92.31 | 162 |
Model-wise precision, sensitivity and F1 score of the three YOLO models with the threshold of 50% and NMS of 0.4 by using micro-averaging calculations.
| Models | Precision | Sensitivity | Specificity | Accuracy | F1 score |
|---|---|---|---|---|---|
| YOLOv4-Tiny | 96.25 | 95.08 | 99.89 | 99.75 | 95.66 |
| YOLOv3-Tiny | 95.40 | 92.87 | 99.86 | 99.66 | 94.11 |
| YOLOv3 | 95.29 | 92.40 | 99.86 | 99.64 | 93.82 |
Figure 11Precision-recall curve for the three models; YOLOv4-Tiny (gold color with solid line), YOLOv3-Tiny (indigo color with dashed line), YOLOv3 (sky-blue color with solid line).