You are currently viewing a new version of our website. To view the old version click .
Micromachines
  • This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
  • Article
  • Open Access

1 December 2025

Research on an Improved YOLOv8 Detection Method for Surface Defects of Optical Components

,
,
,
,
,
,
and
School of Optoelectronic Engineering, Xi’an Technological University, Xi’an 710021, China
*
Author to whom correspondence should be addressed.
Micromachines2025, 16(12), 1373;https://doi.org/10.3390/mi16121373 
(registering DOI)
This article belongs to the Section A:Physics

Abstract

Optical components are extensively used in aerospace, microelectronic equipment, precision optical measurement, laser optics and other fields. Surface defects on optical components can significantly impact system performance, necessitating specialized detection methods. However, technical challenges persist in achieving high-resolution, high-precision and efficient optical surface defect detection. To address this, we propose an improved YOLOv8-based object recognition algorithm. By incorporating the BRA attention mechanism into YOLOv8’s backbone network, multi-scale feature maps are processed to enhance adaptability to complex scenarios. Simultaneously, replacing the feature fusion module with the Context-GuideFPN module enables contextual guidance and adaptive adjustments during multi-scale feature integration without excessive computational overhead. Experimental results on our high-quality microscopic dark-field image dataset demonstrate that the enhanced BACG-YOLOv8 achieves excellent performance in optical component defect detection. The optimized network accurately extracts defect details, particularly demonstrating refined edge feature extraction while effectively suppressing noise interference. This significantly reduces detection errors and improves defect extraction accuracy.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.