包装与食品机械2026,Vol.44Issue(5):60-70,11.DOI:10.3969/j.issn.1005-1295.2026.05.007
基于PFA-WM的木质餐勺表面缺陷检测算法
Surface defect detection algorithm for wooden spoons based on PFA-WM
摘要
Abstract
To address the issues in surface defect detection of wooden spoons,including strong interference from natural wood grain,coexistence of multi-scale defects,and high manual annotation costs,which fail to meet the requirements of real-time quality control on high-speed production lines,an unsupervised defect detection algorithm based on prototype feature adaptation(PFA) and a weighted memory bank(WM) was proposed.On the basis of constructing a multi-scale feature aggregation and dimensionality reduction encoding module,the PFA module was incorporated for feature domain adaptation to suppress natural wood grain interference.A weighted memory bank with multi-discriminator fusion and a dynamically weighted distance metric was employed to filter out texture false alarms and highlight weak defect regions.Experimental results showed that,compared with the original PatchCore model,the PFA-WM algorithm achieved comprehensive improvements in detection performance,with the image-level area under the receiver operating characteristic curve and region overlap increasing by 1.9 and 3.7 percentage points,reaching 91.4%and 83.2%,respectively.The inference speed reached 15 frames per second per image.This study provides an effective technical solution for automated quality control in the wood and bamboo tableware industry.关键词
木质餐勺/无监督学习/缺陷检测/特征自适应/加权记忆库Key words
wooden spoon/unsupervised learning/defect detection/feature adaptation/weighted memory bank分类
信息技术与安全科学引用本文复制引用
李婷婷,杨超宇..基于PFA-WM的木质餐勺表面缺陷检测算法[J].包装与食品机械,2026,44(5):60-70,11.基金项目
国家自然科学基金项目(62405006) (62405006)