| Literature DB >> 34809632 |
Lu Tan1, Tianran Huangfu1, Liyao Wu1, Wenying Chen2.
Abstract
BACKGROUND: The correct identification of pills is very important to ensure the safe administration of drugs to patients. Here, we use three current mainstream object detection models, namely RetinaNet, Single Shot Multi-Box Detector (SSD), and You Only Look Once v3(YOLO v3), to identify pills and compare the associated performance.Entities:
Keywords: Convolutional neural network; Pill identification; RetinaNet; SSD; YOLO v3
Mesh:
Substances:
Year: 2021 PMID: 34809632 PMCID: PMC8609721 DOI: 10.1186/s12911-021-01691-8
Source DB: PubMed Journal: BMC Med Inform Decis Mak ISSN: 1472-6947 Impact factor: 2.796
Fig. 1RetinaNet structure
Fig. 2SSD network structure
Fig. 3YOLO v3 network structure
Appearance of pills
| Dosage form | Printing | Non-round shape | Non-round appearance | Total number of pill varieties |
|---|---|---|---|---|
| Naked tablet | 2 | 0 | 7 | 21 |
| Sugar coated tablet | 1 | 0 | 8 | 14 |
| Film-coated tablet | 111 | 66 | 66 | 156 |
| Capsule | 34 | – | 55 | 61 |
| Soft capsule | 1 | – | 8 | 9 |
| Total | 149 | 66 | 144 | 261 |
Fig. 4Example images of solid oral dosage forms
Fig. 5LabelImg tool for image labeling
Parameter configuration
| Parameter | Value |
|---|---|
| Batch | 64 |
| Sub-divisions | 16 |
| Learning rate | 0.001 |
| Momentum | 0.9 |
| Decay | 0.0001 |
Fig. 6Graph of Loss function
Fig. 7Graph of model performance measures
Evaluation of deep learning models
| Algorithm | Precision (%) | Recall (%) | F1 (%) | MAP (%) |
|---|---|---|---|---|
| RetinaNe | 64.98 | 83.86 | 73.26 | 82.89 |
| SSD | 63.69 | 88.89 | 74.21 | 82.71 |
| YOLO v3 | 69.65 | 80.67 | 74.77 | 80.69 |
Fig. 8Performance of deep learning model
Fig. 9Actual detection effect of the model a hard samples, b YOLO v3 detection results
Indicators of models in identifying hard samples
| Algorithm | MAP (%) | FPS | Model size |
|---|---|---|---|
| RetinaNet | 79.61 | 22 | 157M |
| SSD | 79.03 | 41 | 149M |
| YOLO v3 | 79.02 | 69 | 89M |