RF-YOLOv7: A Model for the Detection of Poor-Quality Grapes in Natural Environments

This study addresses the challenges of detecting inferior fruits in table grapes in natural environments, focusing on subtle appearance differences, occlusions, and fruit overlaps. We propose an enhanced green grape fruit disease detection model named RF-YOLOv7. The model is trained on a dataset comprising images of small fruits, sunburn, excess grapes, fruit fractures, and poor-quality grape bunches. RF-YOLOv7 builds upon the YOLOv7 architecture by integrating four Contextual Transformer (CoT) modules to improve target-detection accuracy, employing the Wise-IoU (WIoU) loss function to enhance generalization and overall performance, and introducing the Bi-Former attention mechanism for dynamic query awareness sparsity. The experimental results demonstrate that RF-YOLOv7 achieves a detection accuracy of 83.5%, recall rate of 76.4%, mean average precision (mAP) of 80.1%, and detection speed of 58.8 ms. Compared to the original YOLOv7, RF-YOLOv7 exhibits a 3.5% increase in mAP, with only an 8.3 ms increase in detection time. This study lays a solid foundation for the development of automatic detection equipment for intelligent grape pruning.

Authors

Institutions

Publication Details

Journal
Agriculture
Published
2025-02-12
DOI
https://doi.org/10.3390/agriculture15040387
Primary Topic
Horticultural and Viticultural Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

RF-YOLOv7: A Model for the Detection of Poor-Quality Grapes in Natural Environments

S. Zhang, Zhijie Ma, Changyong Li
Agriculture
Horticultural and Viticultural Research
article

RF-YOLOv7: A Model for the Detection of Poor-Quality Grapes in Natural Environments

S. Zhang, Zhijie Ma, Changyong Li
article en

Abstract

This study addresses the challenges of detecting inferior fruits in table grapes in natural environments, focusing on subtle appearance differences, occlusions, and fruit overlaps. We propose an enhanced green grape fruit disease detection model named RF-YOLOv7. The model is trained on a dataset comprising images of small fruits, sunburn, excess grapes, fruit fractures, and poor-quality grape bunches. RF-YOLOv7 builds upon the YOLOv7 architecture by integrating four Contextual Transformer (CoT) modules to improve target-detection accuracy, employing the Wise-IoU (WIoU) loss function to enhance generalization and overall performance, and introducing the Bi-Former attention mechanism for dynamic query awareness sparsity. The experimental results demonstrate that RF-YOLOv7 achieves a detection accuracy of 83.5%, recall rate of 76.4%, mean average precision (mAP) of 80.1%, and detection speed of 58.8 ms. Compared to the original YOLOv7, RF-YOLOv7 exhibits a 3.5% increase in mAP, with only an 8.3 ms increase in detection time. This study lays a solid foundation for the development of automatic detection equipment for intelligent grape pruning.

AgricultureVol. 15(4)
Xi'an Jiaotong University (CN), Xinjiang University (CN)
Openalex Percentile: Top 98%
Horticultural and Viticultural Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

RF-YOLOv7: A Model for the Detection of Poor-Quality Grapes in Natural Environments — S. Zhang, Zhijie Ma, et al. · Agriculture (2025) | TGRS Research Map | TGRS