Abstract:With the rapid development of industrial automation and intelligent manufacturing technologies, precise instance segmentation of industrial parts under complex industrial scenarios is crucial for assembly quality inspection; to address the insufficient accuracy and robustness of part instance segmentation caused by large illumination variations, significant camera viewpoint changes, and partial occlusions, an industrial part instance segmentation algorithm based on improved YOLOv8-seg is proposed; the LIR-CAGM module is introduced in the backbone network to reduce the impact of illumination variations on feature extraction and enhance the representation of structurally stable information; the DCNv2-C2f module is adopted in the neck network to replace the original C2f module, improving the model’s adaptability to viewpoint changes and occluded scenes; the original CIoU loss is replaced by SA-CIoU to enhance the optimization stability of target localization. Experimental results show that the improved model achieves mAP@0.5 and mAP@0.5:0.95 of 92.1% and 61.8% on the test dataset, respectively, representing improvements of 4.5% and 4.4% compared to the original YOLOv8-seg network, validating the effectiveness of the proposed model.