five

Detection of citrus defects in natural environment based on improved YOLOv7 algorithm

收藏
中国科学数据2025-12-23 更新2026-04-25 收录
下载链接:
https://www.sciengine.com/AA/doi/10.7671/j.issn.1001-411X.202505006
下载链接
链接失效反馈
官方服务:
资源简介:
ObjectiveCitrus defect recognition is a key link in realizing automatic citrus fruit picking and controlling fruit quality. This study aims to improve the accuracy of citrus defect recognition in natural environments and achieve all-weather operation of intelligent picking.MethodBy optimizing key modules, an improved YOLOv7 algorithm was proposed. The specific improvements included introducing the complete intersection over union (CIoU) loss function to improve bounding box regression accuracy; adopting the HardSwish activation function to enhance network learning and computational efficiency; integrating the attention free transformer (AFT) to strengthen target feature recognition; combining the residual multilayer perceptron (ResMLP) and dynamic convolution (DC) technologies to improve model’s adaptability and stability under complex lighting conditions.ResultUsing a dual light source system, this algorithm achieved all-weather detection of citrus fruits and their defects in natural environments. It detected defects such as black spots and cracks under natural light or white light, while at night, violet light served as a complementary means to detect defects that were not obvious under white light or natural light based on fluorescent responses. The experimental results showed that the improved YOLOv7 algorithm achieved 97.9% recognition accuracy for citrus fruits and 92.8% for defects during daytime, which were 3.8 and 13.4 percentage points higher than those of the original YOLOv7 algorithm, respectively; the defect recognition accuracy at night reached 82.4%.ConclusionThe citrus defect recognition method proposed in this paper has high accuracy and a wide applicable time range, providing new insights for the intelligent harvesting in the citrus industry.
创建时间:
2025-12-23
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作