Fig. 5

Structural diagram of the DAL-YOLOv8 model, highlighting the main modules for feature enhancement and attention mechanisms. DWConv reduces model size and computational cost; the C2f-AFE module enhances feature extraction from complex backgrounds; and the LSKA expands the receptive field and improves attention to key regions in embroidery images.