Abstract
This study aims to improve the accuracy and efficiency of apple defect detection under complex lighting conditions. A novel approach is proposed that integrates filtered imaging with color space reconstruction, utilizing YOLOv12 as the detection framework. “Red Fuji” apples were selected, and an imaging platform featuring adjustable illumination and RGB filters was established. Following pre-experimental optimization of imaging conditions, a dataset comprising 1600 images was constructed. Conversions to RGB, HSI, and LAB color spaces were performed, and YOLOv12 served as the baseline model for ablation experiments. Detection performance was assessed using Precision, Recall, mAP, and FPS metrics. Results indicate that the green filter under 4500 K illumination combined with RGB color space conversion yields optimal performance, achieving an mAP50–95 of 83.1% and a processing speed of 15.15 FPS. This study highlights the impact of filter–color space combinations on detection outcomes, offering an effective solution for apple defect identification and serving as a reference for industrial inspection applications.
Author supplied keywords
Cite
CITATION STYLE
Wang, L., Wang, Z., Zhao, X., Lu, J., Cao, Y., Li, R., & Zhang, T. (2025). Enhanced Research on YOLOv12 Detection of Apple Defects by Integrating Filter Imaging and Color Space Reconstruction. Electronics (Switzerland), 14(21). https://doi.org/10.3390/electronics14214259
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.