DOI: https://doi.org/10.3389/fpls.2025.1574920
PMID: https://pubmed.ncbi.nlm.nih.gov/40395277
تاريخ النشر: 2025-05-06
المؤلف: Yang Zhang وآخرون
الموضوع الرئيسي: الزراعة الذكية والذكاء الاصطناعي
نظرة عامة
تقدم ورقة البحث نموذج WMC-RTDETR، وهو إطار عمل خفيف الوزن معزز للكشف عن الآفات والأمراض في مزارع الشاي، مع معالجة التحديات مثل حجب الأهداف المتعددة والخلفيات المعقدة التي تعيق دقة الكشف. من خلال دمج تحويل المويجات، يحسن النموذج استخراج الميزات متعددة المقاييس، بينما يسهل آلية الانتباه الذاتي متعددة الرؤوس متعددة المقاييس دمج الميزات العالمية، مما يعالج بشكل فعال قيود طرق الانتباه التقليدية في كشف الأجسام الصغيرة. بالإضافة إلى ذلك، تعمل شبكة هرم ميزات إعادة بناء الميزات المكانية الموجهة بالسياق على تحسين ميزات الهدف باستخدام المعلومات السياقية، مما يؤدي إلى تحسين المتانة والدقة في البيئات المعقدة. تظهر النتائج التجريبية أن WMC-RTDETR تحقق 97.7% و83.1% في مقاييس mAP50 وmAP50:95، على التوالي، بينما تقلل من معلمات النموذج والعمليات العائمة بنسبة 35.48% و40.42%، على التوالي.
تظهر عملية نشر نموذج WMC-RTDETR الناجحة على منصة Raspberry Pi عمليته لمراقبة الآفات والأمراض في الوقت الحقيقي في البيئات الزراعية ذات الموارد المحدودة. على الرغم من هذه التقدمات، يعترف المؤلفون بالحاجة إلى مزيد من التحسينات، لا سيما في متانة النموذج تحت الظروف البيئية القاسية وقدراته على التعميم بسبب حجم مجموعة البيانات المحدودة. يُقترح أن تشمل الأعمال المستقبلية استخدام مجموعات بيانات أكبر وأكثر تنوعًا واستراتيجيات تعزيز البيانات المحسنة، بالإضافة إلى استكشاف طرق التعرف الأسرع والأجهزة ذات الأداء العالي لتحسين سرعة الكشف وفائدة النظام بشكل عام.
مقدمة
تسلط مقدمة ورقة البحث هذه الضوء على التحديات الحرجة التي تواجه زراعة الشاي، لا سيما بسبب الآفات والأمراض مثل أنثراكنوز الشاي، التي تهدد الإنتاج والجدوى الاقتصادية للمزارعين (Zhuo et al., 2024; Hua, 2023). تعتمد طرق الكشف التقليدية بشكل كبير على العمل اليدوي، مما يؤدي إلى عدم الكفاءة وعدم الاتساق. لمعالجة هذه القضايا، تم استكشاف التقدم في رؤية الكمبيوتر وتعلم الآلة، مع إظهار دراسات مختلفة فعالية تقنيات مثل آلات التعلم المتطرفة (ELM)، وآلات الدعم الناقل (SVM)، والشبكات العصبية التلافيفية (CNNs) في أتمتة تحديد أمراض الشاي (Xie et al., 2015; Hu et al., 2019a; Hossain et al., 2018).
على الرغم من التقدم المحرز مع CNNs، التي تقدم دقة محسنة مقارنة بالطرق التقليدية، لا تزال هناك تحديات تتعلق بتعقيد النموذج وقدرات المعالجة في الوقت الحقيقي. قدمت سلسلة YOLO (You Only Look Once) نهج كشف أكثر كفاءة من مرحلة واحدة، مما أسفر عن نتائج كبيرة في كشف الآفات والأمراض (Redmon et al., 2016; Wu et al., 2021; Xue et al., 2023). ومع ذلك، لا تزال هناك قيود في البيئات غير المنظمة، مما يستلزم تطوير نماذج مثل Transformer للكشف (DETR) ونسخته المحسنة، RT-DETR، التي تهدف إلى تعزيز دقة الكشف واستقراره في السيناريوهات المعقدة (Carion et al., 2020; Zhao et al., 2024). تقترح هذه الورقة نموذج كشف أمراض الشاي خفيف الوزن يعتمد على RT-DETR المحسن، مع دمج وحدات مبتكرة لتعزيز استخراج الميزات وكفاءة النموذج مع ضمان قابليته للتطبيق في البيئات ذات الموارد المحدودة.
طرق
في هذه الدراسة، استخدم المؤلفون تكوينًا تجريبيًا متسقًا لكل من مراحل التدريب والتقييم. تم تعريف المعلمات بدقة، مع حجم دفعة قدره 4 وإجمالي 300 دورة تدريبية. تم تحديد معدل التعلم عند \(1 \times 10^{-4}\)، وتم توحيد الصور المستخدمة في التجارب إلى حجم \(640 \times 640\) بكسل. لتحسين أداء النموذج، تم استخدام تقاطع الاتحاد العام (GIOU) بشكل موحد كدالة خسارة طوال عملية التدريب. يضمن هذا الصرامة المنهجية موثوقية النتائج المقدمة في الورقة.
نتائج
يقدم قسم النتائج تحليلًا مقارنًا لنموذج RT-DETR الأصلي ونموذج WMC-RTDETR المحسن في سياق كشف آفات وأمراض الشاي. تم تدريب كلا النموذجين باستخدام مجموعات بيانات ومعلمات متطابقة، مع تقييم مقاييس الأداء من خلال متوسط الدقة (mAP) عند عتبات 50 و50:95. توضح منحنيات التدريب، الموضحة في الشكل 8، أن نموذج WMC-RTDETR يتفوق باستمرار على النموذج الأصلي عبر جميع مراحل التدريب، مما يشير إلى دقة محسنة وفعالية في مهام الكشف.
تم إجراء مزيد من التحليل البصري باستخدام طريقة خريطة الحرارة EigenCAM، كما هو موضح في الأشكال 9 و10. تكشف خرائط الحرارة أن النموذج الأصلي يظهر قدرات محدودة في استخراج الميزات، مما يؤدي إلى مناطق استجابة عالية أصغر وميول للكشف المفقود أو الخاطئ، لا سيما في الخلفيات المعقدة. في المقابل، يعرض نموذج WMC-RTDETR منطقة استجابة عالية أوسع، مما يشير إلى تكيف أفضل مع ميزات الحواف والمشاهد المعقدة. لا يلتقط هذا النموذج ميزات الهدف بشكل أكثر شمولاً فحسب، بل يظهر أيضًا مستويات ثقة أعلى في مهام التصنيف، مما يبرز متانته وأداء الكشف المحسن. بالإضافة إلى ذلك، تم التحقق من أداء تطبيق خوارزمية WMC-RTDETR في بيئة Raspberry Pi 4B من خلال تسجيل تدفق الفيديو وطرق التقاط الكاميرا في الوقت الحقيقي.
مناقشة
في هذه الدراسة، تم جمع مجموعة بيانات من آفات وأمراض شجرة الشاي من حديقة شاي ماوشان في مقاطعة جيانغسو، الصين، تتكون من 160 صورة تم فحصها يدويًا من تعفن أوراق الشاي وحشرات الميريد الخضراء، والتي تم تعزيزها بعد ذلك إلى 1280 صورة من خلال تقنيات مثل التدوير، والانعكاس، وإضافة الضوضاء. تم تقسيم مجموعة البيانات إلى مجموعات تدريب (896 صورة)، والتحقق (256 صورة)، ومجموعات اختبار (128 صورة)، مما يسهل تطوير نموذج كشف قوي. قدم البحث RT-DETR، وهو وحدة كشف أهداف في الوقت الحقيقي تستخدم مشفر هجين فعال لتعزيز معالجة الميزات متعددة المقاييس مع تقليل الحمل الحسابي. تم تحسين هذا النموذج بشكل أكبر لإنشاء WMC-RTDETR، الذي يدمج تحويل المويجات التلافيفية (WTConv) وآلية الانتباه الذاتي متعددة الرؤوس متعددة المقاييس (M2SA) لتعزيز قدرات الكشف، لا سيما في السيناريوهات التي تعاني من حجب شديد.
أظهر نموذج WMC-RTDETR تحسينات كبيرة في أداء الكشف، محققًا متوسط دقة (mAP) قدره 97.7% ومعدل إطارات في الثانية (FPS) قدره 58.8، بينما قلل في الوقت نفسه من عدد المعلمات والعمليات العائمة بنسبة 35.48% و40.42%، على التوالي. أشارت التجارب المقارنة إلى أن WMC-RTDETR تفوقت على العديد من النماذج الرائدة، بما في ذلك إصدارات YOLO المختلفة، في كشف آفات وأمراض الشاي. تسلط عملية نشر النموذج على منصة Raspberry Pi المدمجة الضوء على إمكانياته للتطبيقات العملية في المراقبة الزراعية، مما يظهر فعالية التحسينات المقترحة في مهام الكشف عن الأجسام في الوقت الحقيقي.
DOI: https://doi.org/10.3389/fpls.2025.1574920
PMID: https://pubmed.ncbi.nlm.nih.gov/40395277
Publication Date: 2025-05-06
Author(s): Yang Zhang et al.
Primary Topic: Smart Agriculture and AI
Overview
The research paper presents the WMC-RTDETR model, an enhanced lightweight framework for detecting pests and diseases in tea plantations, addressing challenges such as multi-target occlusion and complex backgrounds that hinder detection accuracy. By incorporating wavelet transform convolution, the model improves multi-scale feature extraction, while a multiscale multihead self-attention mechanism facilitates global feature fusion, effectively addressing the limitations of traditional attention methods in small object detection. Additionally, a context-guided spatial feature reconstruction feature pyramid network refines target features using contextual information, leading to improved robustness and accuracy in complex environments. Experimental results demonstrate that WMC-RTDETR achieves 97.7% and 83.1% in mAP50 and mAP50:95 metrics, respectively, while reducing model parameters and floating-point operations by 35.48% and 40.42%, respectively.
The successful deployment of the WMC-RTDETR model on a Raspberry Pi platform showcases its practicality for real-time pest and disease monitoring in resource-constrained agricultural settings. Despite these advancements, the authors acknowledge the need for further improvements, particularly in the model’s robustness under extreme environmental conditions and its generalization capabilities due to the limited dataset size. Future work is suggested to include the use of larger, more diverse datasets and enhanced data augmentation strategies, as well as exploring faster recognition methods and higher-performance hardware to optimize detection speed and overall system utility.
Introduction
The introduction of this research paper highlights the critical challenges faced in tea cultivation, particularly due to pests and diseases like tea anthracnose, which threaten production and economic viability for farmers (Zhuo et al., 2024; Hua, 2023). Traditional detection methods rely heavily on manual labor, leading to inefficiencies and inconsistencies. To address these issues, advancements in computer vision and machine learning have been explored, with various studies demonstrating the effectiveness of techniques such as Extreme Learning Machines (ELM), Support Vector Machines (SVM), and Convolutional Neural Networks (CNNs) in automating the identification of tea diseases (Xie et al., 2015; Hu et al., 2019a; Hossain et al., 2018).
Despite the progress made with CNNs, which offer improved accuracy over traditional methods, challenges remain regarding model complexity and real-time processing capabilities. The introduction of the YOLO (You Only Look Once) series has provided a more efficient one-stage detection approach, yielding significant results in pest and disease detection (Redmon et al., 2016; Wu et al., 2021; Xue et al., 2023). However, limitations persist in unstructured environments, necessitating the development of models like the Detection Transformer (DETR) and its optimized variant, Real Time-Detection Transformer (RT-DETR), which aim to enhance detection accuracy and stability in complex scenarios (Carion et al., 2020; Zhao et al., 2024). This paper proposes a lightweight tea disease detection model based on the improved RT-DETR, incorporating innovative modules to enhance feature extraction and model efficiency while ensuring applicability in resource-limited settings.
Methods
In this study, the authors employed a consistent experimental configuration for both training and evaluation phases. The parameters were meticulously defined, with a batch size of 4 and a total of 300 training epochs. The learning rate was established at \(1 \times 10^{-4}\), and the images used in the experiments were standardized to a size of \(640 \times 640\) pixels. To optimize the model’s performance, the Generalized Intersection over Union (GIOU) was uniformly utilized as the loss function throughout the training process. This methodological rigor ensures the reliability of the findings presented in the paper.
Results
The results section presents a comparative analysis of the original RT-DETR model and the improved WMC-RTDETR model in the context of tea pest and disease detection. Both models were trained using identical datasets and parameters, with performance metrics evaluated through mean Average Precision (mAP) at thresholds of 50 and 50:95. The training curves, depicted in Figure 8, demonstrate that the WMC-RTDETR model consistently outperforms the original model across all training stages, indicating enhanced accuracy and effectiveness in detection tasks.
Further visual analysis was conducted using the EigenCAM heat map method, as illustrated in Figures 9 and 10. The heat maps reveal that the original model exhibits limited feature extraction capabilities, resulting in smaller high-response areas and a tendency for missed or false detections, particularly in complex backgrounds. In contrast, the WMC-RTDETR model displays a broader high-response area, indicating superior adaptability to edge features and complex scenes. This model not only captures target features more comprehensively but also demonstrates higher confidence levels in classification tasks, underscoring its robustness and improved detection performance. Additionally, the application performance of the WMC-RTDETR algorithm was validated in a Raspberry Pi 4B environment through video stream recording and real-time camera capture methods.
Discussion
In this study, a dataset of tea tree pests and diseases was collected from Maoshan Tea Garden in Jiangsu Province, China, comprising 160 manually screened images of tea leaf blight and green mirid bugs, which were then augmented to 1280 images through techniques such as flipping, rotation, and noise addition. The dataset was divided into training (896 images), validation (256 images), and test sets (128 images), facilitating the development of a robust detection model. The research introduced RT-DETR, a real-time target detection module that employs an Efficient Hybrid Encoder to enhance multi-scale feature processing while reducing computational overhead. This model was further improved to create WMC-RTDETR, which integrates Wavelet Transform Convolution (WTConv) and a multi-scale multi-head self-attention (M2SA) mechanism to enhance detection capabilities, particularly in scenarios with severe occlusion.
The WMC-RTDETR model demonstrated significant improvements in detection performance, achieving a mean average precision (mAP) of 97.7% and a frames per second (FPS) rate of 58.8, while simultaneously reducing the number of parameters and floating-point operations by 35.48% and 40.42%, respectively. Comparative experiments indicated that WMC-RTDETR outperformed several state-of-the-art models, including various YOLO versions, in detecting tea pests and diseases. The model’s deployment on an embedded Raspberry Pi platform highlights its potential for practical applications in agricultural monitoring, showcasing the effectiveness of the proposed enhancements in real-time object detection tasks.
