Abstract: To address the issue of small object detection in PCB defect detection, an improved YOLOv8s algorithm based on the GELAN module and HAT attention mechanism is proposed. First, the C2f module ...