Detection of Fiber-Flaw on Pill Surface Based on Lightweight Network SA-MGhost-DVGG

Fiber-flaw detection on pill surfaces is a critical yet challenging task in industrial pharmacy due to diverse defect characteristics. To overcome the limitations of traditional methods in accuracy and real-time performance, this study introduces SA-MGhost-DVGG, a novel lightweight network for enhan...

Full description

Saved in:
Bibliographic Details
Main Authors: Jipei Lou, Hongyi Wang, Haodong Liang, Ziwei Wu
Format: Article
Language:English
Published: MDPI AG 2025-05-01
Series:Computers
Subjects:
Online Access:https://www.mdpi.com/2073-431X/14/5/200
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Fiber-flaw detection on pill surfaces is a critical yet challenging task in industrial pharmacy due to diverse defect characteristics. To overcome the limitations of traditional methods in accuracy and real-time performance, this study introduces SA-MGhost-DVGG, a novel lightweight network for enhanced detection. The proposed network integrates an MGhost module for reducing parameters and computational load, a mixed-channel spatial attention (SA) module to refine features specific to fiber regions, and depthwise separable convolutions (DepSepConv) for efficient dimensionality reduction while preserving feature information. Experimental evaluations demonstrate that SA-MGhost-DVGG achieves a mean detection accuracy of 99.01% with an average inference time of 2.23 ms per pill. The findings confirm that SA-MGhost-DVGG effectively balances high accuracy with computational efficiency, offering a robust solution for industrial applications.
ISSN:2073-431X