Online Defect Detection of Soft Packaging Using an Improved YOLOv8 Model with Edge Computing and Domain Adaptation

To solve key challenges in machine vision-driven online defect recognition of soft packaging, such as inadequate ability to capture defect deformation, difficulty in extracting defect features, and limited generalization performance of models, an online detection method for soft packaging defects is proposed by integrating edge computing and domain adaptation. By replacing the backbone network with GhostNet and optimizing feature fusion through an adaptive feature pyramid network (AFPN), the number of model parameters was significantly reduced by approximately 30%. A multi-scale domain adversarial neural network (DANN) was introduced to enable rapid adaptation to target domains by leveraging historical multi-category data. A three-tier edge computing architecture of “terminal–edge–cloud” was built, and the lightweight YOLOv8 model was deployed on edge nodes, significantly reducing detection latency. Experimental results demonstrated that the proposed method achieved an average detection accuracy of 97.5% across five types of soft packaging products, with an inference time of only 10.9 ms and an average system response time of 148 ms. This approach significantly enhances detection speed and accuracy for soft packaging defect recognition, effectively meeting the real-time requirements of industrial inspection.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-04-13
DOI
https://doi.org/10.3390/app16083786
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Online Defect Detection of Soft Packaging Using an Improved YOLOv8 Model with Edge Computing and Domain Adaptation

Xinchun Zhao, Weiwei Ye, Yuting Bao
Applied Sciences
Industrial Vision Systems and Defect Detection
article

Online Defect Detection of Soft Packaging Using an Improved YOLOv8 Model with Edge Computing and Domain Adaptation

Xinchun Zhao, Weiwei Ye, Yuting Bao
article en

Abstract

To solve key challenges in machine vision-driven online defect recognition of soft packaging, such as inadequate ability to capture defect deformation, difficulty in extracting defect features, and limited generalization performance of models, an online detection method for soft packaging defects is proposed by integrating edge computing and domain adaptation. By replacing the backbone network with GhostNet and optimizing feature fusion through an adaptive feature pyramid network (AFPN), the number of model parameters was significantly reduced by approximately 30%. A multi-scale domain adversarial neural network (DANN) was introduced to enable rapid adaptation to target domains by leveraging historical multi-category data. A three-tier edge computing architecture of “terminal–edge–cloud” was built, and the lightweight YOLOv8 model was deployed on edge nodes, significantly reducing detection latency. Experimental results demonstrated that the proposed method achieved an average detection accuracy of 97.5% across five types of soft packaging products, with an inference time of only 10.9 ms and an average system response time of 148 ms. This approach significantly enhances detection speed and accuracy for soft packaging defect recognition, effectively meeting the real-time requirements of industrial inspection.

Applied SciencesVol. 16(8)
Ministry of Education (TH), Zhejiang University of Technology (CN)
Industry, innovation and infrastructure
Openalex Percentile: Top 25%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.