广西科技大学学报2026,Vol.37Issue(2):52-60,9.DOI:10.16375/j.cnki.cn45-1395/t.2026.02.007
基于Halcon深度学习的FPC铆点缺陷检测
Defect detection of FPC rivet points based on Halcon deep learning
摘要
Abstract
Manual inspection of flexible printed circuit(FPC)rivet defects suffers from low efficiency,while traditional machine vision methods,which rely on features such as rivet area and width for defect classification,often result in high misclassification rates.To address these issues,a FPC rivet point defect detection method based on Halcon deep learning was proposed.First,Halcon operators were used to perform grayscale transformation,threshold segmentation,morphological processing,feature extraction,center point localization,and ROI region segmentation on the defect image to obtain a defect dataset.A lightweight MobileNetV2 network model constructed with Halcon operators was then used to train the dataset to obtain a trained model.Finally,the trained model was imported into the detection software to inspect images captured by industrial cameras and display the final judgment results.This method effectively solves the problem of high misjudgment rate in traditional machine vision methods due to the use of rivet area,width,and other features for defect determination.In the comparative analysis of detection effects with AlexNet and ResNet-50 models,the MobileNetV2 model not only shows a lower error rate but also takes less time when detecting the same ROI area.In actual detection,the accuracy rate of FPC rivet point detection reached 97.40%,and the detection time for a single image is less than 1 second,meeting the task requirements of FPC rivet point defect detection.关键词
FPC铆点/缺陷检测/Halcon/MobileNetV2/深度学习Key words
FPC rivet point/defect detection/Halcon/MobileNetV2/deep learning分类
信息技术与安全科学引用本文复制引用
孔富生,潘盛辉,李镇楠..基于Halcon深度学习的FPC铆点缺陷检测[J].广西科技大学学报,2026,37(2):52-60,9.基金项目
广西自然科学基金项目(2018GXNSFAA138122)资助 (2018GXNSFAA138122)