Comparison of RetinaNet, SSD, and YOLO v3 for real-time pill identification
Open accessThe DOI matches its Crossref record; 20 of the 20 references it cites were found in a registry or an index.
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. Methods: In this paper, we introduce the basic principles of three object detection models. We trained each algorithm on a pill image dataset and analyzed the performance of the three models to determine the best pill recognition model. The models were then used to detect difficult samples and we compared the results. Results: The mean average precision (MAP) of RetinaNet reached 82.89%, but the frames per second (FPS) is only one third of YOLO v3, which makes it difficult to achieve real-time performance. SSD does not perform as well on the indicators of MAP and FPS. Although the MAP of YOLO v3 is slightly lower than the others (80.69%), it has a significant advantage in terms of detection speed. YOLO v3 also performed better when tasked with hard sample detection, and therefore the model is more suitable for deployment in hospital equipment. Conclusion: Our study reveals that object detection can be applied for real-time pill identification in a hospital pharmacy, and YOLO v3 exhibits an advantage in detection speed while maintaining a satisfactory MAP.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
You Only Look Once: Unified, Real-Time Object Detection
Redmon, J., Divvala, S., Girshick, R., & Farhadi, A. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.91 · Cited by 53,803
(2016) · Cited by 31,590
Focal Loss for Dense Object Detection
Lin, T.-Y., Goyal, P., Girshick, R., He, K., & Dollar, P. (2017) · 2017 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2017.324 · Cited by 30,581 · cited 1×
“A study [19] in 2017 showed that RetinaNet could achieve detection speeds similar to some one-stage algorithms, and the detection accuracy exceeded many two-stage algorithms at that time.”
MethodSSD: Single Shot MultiBox Detector
Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.-Y., & Berg, A. C. (2016) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-46448-0_2 · Cited by 22,128 · cited 1×
“SSD [20] was proposed by Wei Liu et al. and draws on the anchor mechanism of Faster R-CNN and the end-to-end one-step structure of the YOLO algorithm in which object classification and location regression are performed directly in the convolution stage.”
MethodYOLOv3: An Incremental Improvement
Redmon, J., & Farhadi, A. (2018) · arXiv · doi:10.48550/arxiv.1804.02767 · Cited by 17,141 · cited 1×
“The YOLO v3 [22] backbone network structure does not have the pooling and fully connected layers, as shown in Fig.”
Aliper, A., Plis, S., Artemov, A., Ulloa, A., Mamoshina, P., & Zhavoronkov, A. (2016) · Molecular Pharmaceutics · doi:10.1021/acs.molpharmaceut.6b00248 · Cited by 610 · cited 1×
“Some progress has been made in drug discovery [8], drug production [9] and semi-quan-tification [10], but very little research has been done on pill identification.”
BackgroundIncidence, type and causes of dispensing errors: a review of the literature
James, K. L., Barlow, D., McArtney, R., Hiom, S., Roberts, D., & Whittlesea, C. (2010) · International Journal of Pharmacy Practice · doi:10.1211/ijpp.17.1.0004 · Cited by 243 · cited 1×
“Dispensing the wrong drug will seriously compromise the safety of treat-ment [6, 7].”
BackgroundRodríguez, C., Alonso, A. H., Escudero‐Vilaplana, V., Ais‐Larisgoitia, M. A., Peinado, I. I., & Sanjurjo‐Sáez, M. (2018) · Journal of Evaluation in Clinical Practice · doi:10.1111/jep.13014 · Cited by 81 · cited 1×
“Although some large hospitals have now adopted the expensive Automatic Tablet Dispensing Machine, it seems that filling errors, accidental dropping of medication into the machine, and other human errors remain unavoidable [3, 4].”
BackgroundMedication Safety Systems and the Important Role of Pharmacists
Mansur, J. M. (2016) · Drugs & Aging · doi:10.1007/s40266-016-0358-1 · Cited by 79 · cited 1×
“’Err is Human’ [5], and even experienced pharmacists can make mistakes under the pressure of constant high intensity work.”
BackgroundJu, L., Lyu, A., Hao, H., Shen, W., & Cui, H. L. (2019) · Analytical Chemistry · doi:10.1021/acs.analchem.9b01315 · Cited by 76 · cited 1×
“Some progress has been made in drug discovery [8], drug production [9] and semi-quan-tification [10], but very little research has been done on pill identification.”
BackgroundDevelopment of fine-grained pill identification algorithm using deep convolutional network
Wong, Y. F., Ng, H. T., Leung, K. Y., Chan, K. Y., Chan, S. Y., & Loy, C. C. (2017) · Journal of Biomedical Informatics · doi:10.1016/j.jbi.2017.09.005 · Cited by 64 · cited 1×
“The results showed that the top-1 pill recognition by the AlexNet-based network performed better than those with manually designed features, reaching 95.35% [16].”
BackgroundInfluentialThe national library of medicine pill image recognition challenge: An initial report
Yaniv, Z., Faruque, J., Howe, S. E., Dunn, K., Sharlip, D., Bond, A., Perillan, P., Bodenreider, O., Ackerman, M. J., & Yoo, T. S. (2016) · IEEE Applied Imagery Pattern Recognition Workshop · doi:10.1109/aipr.2016.8010584 · Cited by 57 · cited 1×
“National Library of Medicine published an algorithm challenge competition on pill recognition, and publicly released the pill image dataset [23].”
BackgroundTransformation of potential medical demand in China: A system dynamics simulation model
Yu, W., Li, M., Ge, Y., Li, L., Zhang, Y., Liu, Y., & Zhang, L. (2015) · Journal of Biomedical Informatics · doi:10.1016/j.jbi.2015.08.015 · Cited by 42 · cited 1×
“However, with China’s growing and aging population, the demand for medical care is increasing [1], which places considerable pressure on the limited medical resources [2].”
BackgroundAutomatic Drug Pills Detection based on Convolution Neural Network
Ou, Y., Tsai, A., Wang, J.-F., & Lin, J. (2018) · International Conference on Orange Technologies · doi:10.1109/icot.2018.8705849 · Cited by 39 · cited 1×
“The top-1 accuracy rate for the trained network was up to 79.4% [18].”
BackgroundInfluentialCoforDes: An Invariant Feature Extractor for the Drug Pill Identification
Neto, M. A. V., Souza, J. W. M., Filho, P. P. R., et al. (2018) · IEEE International Symposium on Computer-Based Medical Systems (CBMS) · doi:10.1109/cbms.2018.00013 · Cited by 23 · cited 1×
“proposed a feature extractor based on shape and color in 1,000 images of 100 different classes of pills, obtaining an accuracy of over 99% using various classifiers [14].”
MethodDuan, J., Jiao, F., Zhang, Q., & Lin, Z. (2017) · International Journal of Environmental Research and Public Health · doi:10.3390/ijerph14080883 · Cited by 22 · cited 1×
“However, with China’s growing and aging population, the demand for medical care is increasing [1], which places considerable pressure on the limited medical resources [2].”
BackgroundDrug identification by the patient: Perception of patients, physicians and pharmacists
Tranchard, F., Gauthier, J., Hein, C., Lacombe, J., Brett, K., Villars, H., Sallerin, B., Montastruc, J., & Despas, F. (2019) · Therapies · doi:10.1016/j.therap.2019.03.003 · Cited by 15 · cited 1×
“Dispensing the wrong drug will seriously compromise the safety of treat-ment [6, 7].”
BackgroundSwastika, W., Prilianti, K. R., Stefanus, A., Setiawan, H., Arfianto, A. Z., Santosa, A. W. B., Rahmat, M. B., & Setiawan, E. (2019) · International Seminar on Intelligent Technology and Its Applications · doi:10.1109/isitia.2019.8937272 · Cited by 13 · cited 1×
“The network was trained on 24,000 images of eight types of pill, achieving a recognition accuracy of up to 99.16% [17].”
MethodInfluentialAutomatic text imprint analysis from pill images
Suntronsuk, S., & Ratanotayanon, S. (2017) · International Conference on Knowledge and Smart Technology · doi:10.1109/kst.2017.7886081 · Cited by 12 · cited 1×
“used Otsu’s thresholding with noise elimination to extract the imprint from pills as a vector, achieving precision and recall scores on the recognition of text on imprints of over 57% [13].”
MethodDhivya, A. B., & Sundaresan, M. (2020) · IET Image Processing · doi:10.1049/iet-ipr.2019.0993 · Cited by 7 · cited 1×
“used a support vector machine to recognize text imprinted on tablets [15].”
Method
Research works printed but not linked: 4
- Chang CH, Lai YL, Chen CC. Implement the RFID position based system of automatic tablets packaging machine for patient safety. J Med Syst. 2012;36(6):3463–71. · doi:10.1007/s10916-011-9799-6
- Zheng S, Zhang W, Wang L, et al. Special shaped softgel inspection system based on machine vision. In: 2015 IEEE 9th international conference on Anti-counterfeiting, Security, and Identification (ASID). IEEE; 2015. p. 124–7. https://doi.org/10.1109/ICASID.2015.7405675. · doi:10.1109/icasid.2015.7405675
- Lee YB, Park U, Jain AK. Pill-id: matching and retrieval of drug pill imprint images. In: 2010 20th international conference on pattern recognition. IEEE; 2010. p. 2632–5. https://doi.org/10.1109/ICPR.2010.645. · doi:10.1109/icpr.2010.645
- Morimoto M, Fujii K. A visual inspection system for drug tablets. In: 2011 IEEE international conference on systems, man, and cybernetics. IEEE; 2011. p. 1106–10. https://doi.org/10.1109/ICSMC.2011.6083822. · doi:10.1109/icsmc.2011.6083822
Cited by
A Comprehensive Review of YOLO Architectures in Computer Vision: From YOLOv1 to YOLOv8 and YOLO-NAS
Terven, J., Córdova-Esparza, D.-M., & Romero-González, J.-A. (2023) · Machine Learning and Knowledge Extraction · doi:10.3390/make5040083 · Cited by 3,052
YOLOv1 to v8: Unveiling Each Variant–A Comprehensive Review of YOLO
Hussain, M. (2024) · IEEE Access · doi:10.1109/access.2024.3378568 · Cited by 492
A Comprehensive Systematic Review of YOLO for Medical Object Detection (2018 to 2023)
Ragab, M. G., Abdulkadir, S. J., Muneer, A., Alqushaibi, A., Sumiea, E. H., Qureshi, R., Al-Selwi, S. M., & Alhussian, H. (2024) · IEEE Access · doi:10.1109/access.2024.3386826 · Cited by 306
“However, as the adoption of YOLO in medical imaging increases, it is essential to evaluate its performance, strengths, limitations, and the specific medical domains in which it has been applied [40].”
BackgroundElyan, E., Vuttipittayamongkol, P., Johnston, P., Martin, K., McPherson, K., Moreno-García, C. F., Jayne, C., & Mostafa Kamal Sarker, M. (2022) · Artificial Intelligence Surgery · doi:10.20517/ais.2021.15 · Cited by 161
Mahasin, M., & Dewi, I. A. (2022) · International Journal of Engineering, Science and Information Technology · doi:10.52088/ijesty.v2i3.291 · Cited by 71
Metadata
- Authors
- Tan, L., Huangfu, T., Wu, L., & Chen, W.
- Venue
- BMC Medical Informatics and Decision Making
- Published
- 2021-11-22
- Volume
- 21
- Issue
- 1
- Pages
- 324-324
- ISSN
- 1472-6947 (ISSN-L)
- OpenAlex
- W3215073785
- Cited by
- 224
- References
- 20
- FWCI
- 12.52
- Type
- journal article
- Language
- en
- Open access
- gold
- Licence
- creativecommons.org/licenses/by/4.0 (tdm)
- creativecommons.org/licenses/by/4.0 (vor)
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.