AHG-YOLO: الكشف متعدد الفئات عن ثمار الكمثرى المحجوبة في مشاهد البستان المعقدة AHG-YOLO: multi-category detection for occluded pear fruits in complex orchard scenes

شارك:
المجلة: Frontiers in Plant Science، المجلد: 16
DOI: https://doi.org/10.3389/fpls.2025.1580325
PMID: https://pubmed.ncbi.nlm.nih.gov/40487208
تاريخ النشر: 2025-05-23
المؤلف: Na Ma وآخرون
الموضوع الرئيسي: الزراعة الذكية والذكاء الاصطناعي

نظرة عامة

تقدم البحث نموذج AHG-YOLO، المصمم للكشف السريع عن ثمار الكمثرى المحجوبة في بيئات البساتين المعقدة، مما يسهل تخطيط المسارات بكفاءة لروبوتات الحصاد. تصنف الدراسة الكمثرى إلى ثلاثة أنواع بناءً على الحجب: غير المحجوبة (NO)، المحجوبة بواسطة الأوراق/الفروع (OBL)، والثمار المتلامسة مع أخرى ولكن غير المحجوبة (FCC). باستخدام نموذج YOLOv11n كأساس، يتضمن نموذج AHG-YOLO العديد من التحسينات، بما في ذلك تقليل حجم البيانات ADown لتحسين استخراج الميزات، ورأس كشف خفيف الوزن مع معلمات وزن مشتركة، ودالة خسارة التقاطع العام (GIoU) لتعزيز سرعة التقارب وأداء الكشف.

تشير النتائج التجريبية إلى أن نموذج AHG-YOLO يحقق دقة متوسطة (AP) تبلغ 93.5% لـ FCC، و95.3% لـ NO، و93.4% لـ OBL، مما يؤدي إلى دقة متوسطة (mAP) تبلغ 94.1% عبر جميع الفئات. من الجدير بالذكر أن النموذج يتفوق على نموذج YOLOv11n الأساسي في مقاييس الدقة والاسترجاع وmAP، مع تحسينات تبلغ 2.5%، 3.6%، 2.3%، و2.6% على التوالي. النموذج مضغوط، بحجم 5.1 ميغابايت وانخفاض بنسبة 16.9% في المعلمات، مما يجعله مناسبًا للنشر على الأجهزة المدمجة لتطبيقات الحصاد في الوقت الحقيقي. مقارنةً بثماني طرق أخرى للكشف عن الأجسام، يظهر AHG-YOLO دقة متفوقة، مما يرسخ إطارًا منهجيًا قويًا للكشف عن الكمثرى ويدعم تقدم تقنيات الحصاد الآلي. ستسعى الأبحاث المستقبلية إلى التحقق من فعالية النموذج في سيناريوهات الحصاد العملية.

مقدمة

تسلط مقدمة ورقة البحث الضوء على أهمية الكمثرى كفاكهة غنية بالعناصر الغذائية ذات قيمة اقتصادية كبيرة، لا سيما في الصين، التي تتصدر الإنتاج والاستهلاك العالمي. تم تحديد الحصاد اليدوي للكمثرى كعملية كثيفة العمالة وغير فعالة، مما تفاقم بسبب شيخوخة القوى العاملة وارتفاع تكاليف العمالة. تستدعي هذه الحالة تطوير تقنيات الحصاد الآلي، لا سيما في سياق بيئات البساتين المعقدة حيث يعد الكشف الدقيق عن الثمار أمرًا حيويًا للإدارة الفعالة والأتمتة.

أدت التطورات الأخيرة في التعلم العميق ومعالجة الصور إلى ظهور خوارزميات مختلفة للكشف عن الأجسام، ولا سيما سلسلة YOLO، التي أظهرت وعدًا في تحسين سرعة ودقة الكشف. ومع ذلك، لا تزال التحديات قائمة، لا سيما فيما يتعلق بالمعالجة في الوقت الحقيقي وكشف الثمار الصغيرة أو المحجوبة. تقدم الورقة AHG-YOLO، وهي طريقة كشف خفيفة الوزن تعتمد على YOLOv11n، والتي تتضمن تقنيات مبتكرة لتقليل التعقيد الحسابي مع تعزيز دقة الكشف. تم تصميم النموذج المقترح لتسهيل الحصاد الروبوتي بكفاءة من خلال تحسين قدرات الكشف وتمكين تخطيط المسارات المرنة، مما يعالج الحاجة الملحة لحلول الحصاد الذكي في بساتين الكمثرى. تشير المقارنات مع النماذج الحالية إلى أن AHG-YOLO يتفوق على العديد من الشبكات الرئيسية للكشف عن الأجسام، مما يجعله خيارًا مناسبًا للتطبيقات في الوقت الحقيقي في بيئات البساتين المعقدة.

طرق

في هذه الدراسة، تم إجراء الإعداد التجريبي على نظام تشغيل Windows 10، باستخدام نظام يحتوي على 32 جيجابايت من الذاكرة العشوائية، وNVIDIA GeForce RTX 4080 GPU، ومعالج Intel Core i7-13700F يعمل بتردد 2.10 جيجاهرتز. كانت إطار العمل للتعلم العميق المستخدم هو PyTorch الإصدار 2.0.1، جنبًا إلى جنب مع CUDA 11.8 وCUDNN 8.8.0.

تم تكوين معلمات التدريب للشبكة العصبية بدقة: تم إدخال الصور بدقة 640 × 640 بكسل، مع حجم دفعة يبلغ 32. تم تحديد عملية التدريب عند 200 تكرار، باستخدام مُحسن الانحدار العشوائي (SGD). بدأت سرعة التعلم عند 0.01 وتم تعديلها ديناميكيًا من خلال استراتيجية تذويب جيب التمام، مع عامل زخم قدره 0.937 ومعامل انحدار الوزن قدره 0.0005 لتحسين أداء النموذج والتعميم.

نتائج

تقدم قسم النتائج أداء الشبكات المختلفة في الكشف عن ثمار الكمثرى المحجوبة عبر فئات متنوعة في مشاهد البساتين المعقدة. توضح الشكل 13 نتائج الدقة المتوسطة (AP) للكشف متعدد الفئات، بينما توضح الجدول 3 نتائج الكشف المحددة لنماذج AHG-YOLO وYOLOv11n على مجموعة الاختبار. من الجدير بالذكر أن شبكة YOLOv11 الأساسية تتفوق في الكشف عن ثمار “NO”، حيث تحقق AP تبلغ 93.4%، لكنها تظهر أداءً متراجعًا لثمار “FCC” و”OBL”.

على النقيض من ذلك، يظهر نموذج AHG-YOLO المقترح تحسينات كبيرة في دقة الكشف. يعزز AP لثمار “FCC” بنسبة 2.6% إلى 93.4%، ولثمار “OBL” بنسبة 2.4% إلى 93.5%، ولثمار “NO” بنسبة 1.9% إلى 95.3%. تؤكد هذه النتائج فعالية نموذج AHG-YOLO في الكشف عن أهداف الثمار ضمن بيئات معقدة، مما يبرز دقته الفائقة وقوته مقارنة بشبكة YOLOv11 التقليدية.

مناقشة

تسلط قسم المناقشة في ورقة البحث الضوء على تطوير وتقييم نموذج AHG-YOLO، المصمم للكشف عن ثمار الكمثرى المحجوبة في بيئات البساتين المعقدة. كانت الكمثرى هونغشيانغسو، التي تتميز بنضوجها المتأخر وفوائدها الصحية، محور هذه الدراسة. تم جمع مجموعة بيانات تتكون من 734 صورة قابلة للاستخدام، والتي تم تعزيزها لتحسين قوة نموذج الكشف، مما أدى إلى إجمالي 2,936 عينة مصنفة إلى ثلاث فئات: غير المحجوبة (NO)، المحجوبة بواسطة الفروع أو الأوراق (OBL)، والثمار المتلامسة (FCC). يتضمن نموذج AHG-YOLO العديد من الابتكارات، بما في ذلك طريقة تقليل حجم البيانات ADown، ورأس كشف خفيف الوزن، ودالة خسارة GIoU، والتي تحسن مجتمعة قدرات استخراج الميزات مع تقليل التعقيد الحسابي.

تشير النتائج إلى أن نموذج AHG-YOLO يحقق دقة متوسطة (mAP) تبلغ 94.1%، متفوقًا على نموذج YOLOv11n الأساسي بفارق ملحوظ في مقاييس الدقة والاسترجاع والكفاءة. يسمح تصميم النموذج باستراتيجيات كشف فعالة مصممة لتناسب سيناريوهات الحجب المختلفة، مما يعزز كفاءة الحصاد الروبوتي. على الرغم من بعض القيود في الكشف عن الثمار المتجمعة بإحكام أو ذات الإضاءة الضعيفة، يظهر النموذج إمكانات كبيرة للتطبيقات العملية في حصاد الكمثرى الآلي. ستركز الأعمال المستقبلية على تحسين قدرات النموذج بشكل أكبر وتوسيع مجموعة البيانات لتحسين دقة الكشف في الظروف الصعبة.

Journal: Frontiers in Plant Science, Volume: 16
DOI: https://doi.org/10.3389/fpls.2025.1580325
PMID: https://pubmed.ncbi.nlm.nih.gov/40487208
Publication Date: 2025-05-23
Author(s): Na Ma et al.
Primary Topic: Smart Agriculture and AI

Overview

The research presents the AHG-YOLO model, designed for the rapid detection of occluded pear fruits in complex orchard environments, facilitating efficient path planning for harvesting robots. The study categorizes pears into three types based on occlusion: non-occluded (NO), occluded by leaves/branches (OBL), and fruits in contact with others but not obstructed (FCC). Utilizing the YOLOv11n model as a foundation, the AHG-YOLO model incorporates several enhancements, including ADown downsampling for improved feature extraction, a lightweight detection head with shared weight parameters, and the Generalized Intersection over Union (GIoU) loss function to boost convergence speed and detection performance.

Experimental results indicate that the AHG-YOLO model achieves an average precision (AP) of 93.5% for FCC, 95.3% for NO, and 93.4% for OBL, culminating in a mean Average Precision (mAP) of 94.1% across all categories. Notably, the model outperforms the base YOLOv11n in precision, recall, and mAP metrics, with improvements of 2.5%, 3.6%, 2.3%, and 2.6%, respectively. The model is compact, with a size of 5.1MB and a 16.9% reduction in parameters, making it suitable for deployment on embedded devices for real-time harvesting applications. Compared to eight other object detection methods, AHG-YOLO demonstrates superior accuracy, thereby establishing a robust methodological framework for pear detection and supporting the advancement of automated harvesting technologies. Future research will aim to validate the model’s effectiveness in practical harvesting scenarios.

Introduction

The introduction of the research paper highlights the significance of pears as a nutrient-rich fruit with substantial economic value, particularly in China, which leads global production and consumption. The manual harvesting of pears is identified as a labor-intensive and inefficient process, exacerbated by an aging workforce and rising labor costs. This situation necessitates the development of automated harvesting technologies, particularly in the context of complex orchard environments where accurate fruit detection is crucial for effective management and automation.

Recent advancements in deep learning and image processing have led to the emergence of various object detection algorithms, notably the YOLO series, which have shown promise in improving detection speed and accuracy. However, challenges remain, particularly concerning real-time processing and the detection of small or occluded fruits. The paper introduces AHG-YOLO, a lightweight detection method based on YOLOv11n, which incorporates innovative techniques to reduce computational complexity while enhancing detection accuracy. The proposed model is designed to facilitate efficient robotic harvesting by optimizing detection capabilities and enabling flexible path planning, thereby addressing the pressing need for intelligent harvesting solutions in pear orchards. Comparisons with existing models indicate that AHG-YOLO outperforms several mainstream object detection networks, making it a suitable choice for real-time applications in complex orchard environments.

Methods

In this study, the experimental setup was conducted on a Windows 10 operating system, utilizing a system with 32 GB of RAM, an NVIDIA GeForce RTX 4080 GPU, and an Intel Core i7-13700F processor operating at 2.10 GHz. The deep learning framework employed was PyTorch version 2.0.1, along with CUDA 11.8 and CUDNN 8.8.0.

The training parameters for the neural network were meticulously configured: images were input at a resolution of 640 × 640 pixels, with a batch size of 32. The training process was capped at 200 iterations, utilizing the Stochastic Gradient Descent (SGD) optimizer. The learning rate commenced at 0.01 and was dynamically adjusted through a cosine annealing strategy, with a momentum factor of 0.937 and a weight decay coefficient of 0.0005 to enhance model performance and generalization.

Results

The results section presents the performance of different networks in detecting occluded pear fruits across various categories in complex orchard scenes. Figure 13 illustrates the average precision (AP) results for multi-category detection, while Table 3 details the specific detection outcomes for the AHG-YOLO and YOLOv11n models on the test set. Notably, the base YOLOv11 network excels in detecting “NO” fruits, achieving an AP of 93.4%, but shows diminished performance for “FCC” and “OBL” fruits.

In contrast, the proposed AHG-YOLO model demonstrates significant improvements in detection accuracy. It enhances the AP for “FCC” fruits by 2.6% to 93.4%, for “OBL” fruits by 2.4% to 93.5%, and for “NO” fruits by 1.9% to 95.3%. These findings underscore the effectiveness of the AHG-YOLO model in fruit target detection within complex environments, highlighting its superior accuracy and robustness compared to the traditional YOLOv11 network.

Discussion

The discussion section of the research paper highlights the development and evaluation of the AHG-YOLO model, designed for the detection of occluded pear fruits in complex orchard environments. The Hongxiangsu pear, characterized by its late maturation and health benefits, served as the focus of this study. A dataset of 734 usable images was collected, which was augmented to enhance the robustness of the detection model, resulting in a total of 2,936 samples categorized into three classes: unobstructed (NO), occluded by branches or leaves (OBL), and fruits in close contact (FCC). The AHG-YOLO model incorporates several innovations, including the ADown downsampling method, a lightweight detection head, and the GIoU loss function, which collectively improve feature extraction capabilities while reducing computational complexity.

The findings indicate that the AHG-YOLO model achieves a mean Average Precision (mAP) of 94.1%, outperforming the baseline YOLOv11n model by notable margins in precision, recall, and efficiency metrics. The model’s design allows for effective detection strategies tailored to different occlusion scenarios, thereby enhancing robotic harvesting efficiency. Despite some limitations in detecting tightly clustered or poorly lit fruits, the model demonstrates significant potential for practical applications in automated pear harvesting. Future work will focus on further refining the model’s capabilities and expanding the dataset to improve detection accuracy in challenging conditions.