YOLOv8-seg-CP: a lightweight instance segmentation algorithm for chip pad based on improved YOLOv8-seg model
Authors:
Open Access
- 12 November 2024
- journal article
- research article
- Published by Springer Nature in Scientific Reports
- Vol. 14 (1) , 1-18
Abstract
Real-time detection and accurate segmentation of chip pads are important tasks to ensure chip alignment and position correction. To address the challenges of small target chip pad detection, segmentation accuracy and model lightweight, this paper proposes a lightweight chip pad instance segmentation algorithm based on an improved YOLOv8-seg, named YOLOv8-seg-CP (chip pad). Firstly, we integrate the next-generation lightweight StarNet into the original backbone network to enhance fine feature capture capabilities while reducing the number of parameters. Then, we construct the C2f-Star module in the neck network, which enhances the feature extraction performance for small chip pad targets. This maintains accuracy, reduces computational load, and improves detection and segmentation speed. On this basis, we introduce a lightweight shared convolution segmentation head (LSCSH), significantly reducing both parameter count and computational load while enhancing segmentation performance. Additionally, we propose a CGCAFusion convolutional attention fusion module. This module uses a content-guided convolutional attention fusion mechanism to dynamically adjust attention weights based on the content of input features, capturing both global and local feature information and enhancing multimodal feature fusion. Experiments on the chip pad dataset demonstrate that our algorithm achieves a detection and segmentation accuracy of 89.8%. The model size, parameters, and FLOPs are 3.7 M, 1.7 M, and 8.2 G respectively, representing reductions of 45.6%, 50%, and 31.7% compared to the baseline model. The FPS is 1399.3, an improvement of 25.8% over the baseline model. The inference time is 0.72ms, which is 0.18ms less than the baseline model. Extensive experimental results on COCO, carparts-seg, and crack-seg datasets further show that the improved YOLOv8n-seg model outperforms many existing advanced methods in terms of performance. This approach holds significant industrial application value for fully automated chip testing and sorting integrated production.Keywords
This publication has 56 references indexed in Scilit:
- YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information2024
- DEA-Net: Single Image Dehazing Based on Detail-Enhanced Convolution and Content-Guided AttentionIEEE Transactions on Image Processing, 2024
- State of the Art in Defect Detection Based on Machine VisionInternational Journal of Precision Engineering and Manufacturing-Green Technology, 2021
- Image Segmentation Using Deep Learning: A SurveyIEEE Transactions on Pattern Analysis and Machine Intelligence, 2021
- SMD LED chips defect detection using a YOLOv3-dense modelAdvanced Engineering Informatics, 2021
- SOLO: Segmenting Objects by Locations2020
- Conditional Convolutions for Instance Segmentation2020
- FCOS: A Simple and Strong Anchor-free Object DetectorIEEE Transactions on Pattern Analysis and Machine Intelligence, 2020
- Cascade R-CNN: High Quality Object Detection and Instance SegmentationIEEE Transactions on Pattern Analysis and Machine Intelligence, 2019
- CBAM: Convolutional Block Attention Module2018