Automated Pharmaceutical Blister Inspection via ROI Extraction and Multi-Defect Detection using YOLOv8n
Indian Journal Of Science And Technology · 28.07.2026 · 19 (27) · 1898-1915
DOI: 10.17485/ijst/v19i27.356 ↗Kurz gefasst
Fachartikel in der Zeitschrift Indian Journal Of Science And Technology, online erschienen am 28.07.2026. Verfasst von Yannick A Abanda und 3 weiteren Autor:innen.
Abstract (Originalsprache)
Objectives
This study aims to develop an automatic visual defect detection system for pharmaceutical blisters, combining ROI extraction and YOLOv8n, for accurate, fast and robust inspection, even on limited datasets.
Method
Four visual defects are targeted: broken tablets, spotted tablets, color mismatches, and empty cavities. The system relies on two complementary modules. The first isolates the blister from the raw image through HSV color space segmentation, detects contours via the Canny algorithm, corrects orientation using the probabilistic Hough transform, and crops the image based on the convex hull. This preprocessing step reduces computational load by eliminating non-informative background regions and focuses analysis on the relevant area. The second module performs multi-defect detection using YOLOv8n, a lightweight detector fine-tuned through a systematic five-step ablation study and validated across five independent training runs using distinct random seeds. An offline test interface completes the system for prediction visualization.
Findings
Benchmarked on an enterprise-grade NVIDIA T4 GPU profile to ensure statistical consistency, experiments conducted on the public dataset defectives_tablets_detection (Roboflow Universe) yield highly robust and reproducible results: 99.78 ± 0.54% precision, 99.88 ± 0.29% recall, 99.50 ± 0.01% mAP@0.5 and 84.22 ± 0.47% mAP@0.5:0.95. Furthermore, the geometric cropping mechanism yields a constant ~61.00% training storage optimization and accelerates raw network inference down to 3.85 ± 0.11 ms, achieving an exceptionally low total End-to-End Latency of 5.48 ± 0.24 ms per blister. Novelty: These results confirm that combining explicit ROI extraction with a compact detector successfully eliminates traditional speed-accuracy trade-offs, achieving high localization precision, lower storage footprints, and superior throughput rates that translate directly to real-world industrial deployment. Keywords: Blister inspection, ROI extraction, defect detection, YOLOv8n, Transfer learning, computer vision
Zitieren
APA
Abanda, Y. A., Nelem, A. T., Makem, M., & Mvele, L. M. (2026). Automated Pharmaceutical Blister Inspection via ROI Extraction and Multi-Defect Detection using YOLOv8n. Indian Journal Of Science And Technology, 19(27), 1898-1915. https://doi.org/10.17485/ijst/v19i27.356
Vancouver
Abanda YA, Nelem AT, Makem M, Mvele LM. Automated Pharmaceutical Blister Inspection via ROI Extraction and Multi-Defect Detection using YOLOv8n. Indian Journal Of Science And Technology. 2026;19(27):1898-1915. doi:10.17485/ijst/v19i27.356
BibTeX
@article{Abanda2026,
author = {Abanda, Yannick A and Nelem, A Tolok and Makem, Mimosette and Mvele, Linge M},
title = {Automated Pharmaceutical Blister Inspection via ROI Extraction and Multi-Defect Detection using YOLOv8n},
journal = {Indian Journal Of Science And Technology},
year = {2026},
volume = {19},
number = {27},
pages = {1898--1915},
doi = {10.17485/ijst/v19i27.356}
}
EUVIMED