Automated vial defect inspection using Gabor wavelets and k-means clustering

Vishwanatha C. R., V. Asha, Channabasava Channabasava, Sreekanth Rallapalli

Abstract


This study proposes a machine vision-based defect inspection system for pharmaceutical vials, aiming to ensure the quality and safety of medicinal fluids. The system employs a series of image processing techniques, including denoising, feature extraction using the Gabor wavelet transform, segmentation, clustering with the K-means algorithm, and precise defect identification using the Canny edge operator. Experimental results demonstrate high performance, with recall, precision, accuracy, and F1-score exceeding 98%. Additionally, the proposed method achieves area under the curve-receiver-operating characteristic curve (AUC-ROC) and AUC-precision-recall (PR) values of approximately 98%. The system's average computational time is 355 microseconds, indicating its potential for real-time defect detection. Overall, this approach offers an effective solution for identifying various cosmetic defects such as scratches, bruises, cracks, and black spots, in pharmaceutical vials without the need for vial classification training. 

Keywords


Gabor wavelets; K-means clustering; Machine vision; Segmentation; Vial defect

Full Text:

PDF


DOI: http://doi.org/10.11591/ijai.v14.i5.pp%25p

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Vishwanatha C. R., V. Asha, Channabasava, Sreekanth Rallapalli

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938 
This journal is published by the Institute of Advanced Engineering and Science (IAES).

View IJAI Stats