پژوهش‌های مکانیک ماشینهای کشاورزی

پژوهش‌های مکانیک ماشینهای کشاورزی

توسعه مدل یادگیری عمیق مبتنی بر شبکه VGG16 به منظور طبقه‌بندی گیاه زعفران و علف‌های هرز از روی تصاویر رنگی

نوع مقاله : مقاله پژوهشی

نویسندگان
1 گروه آب و خاک، دانشکده کشاورزی، دانشگاه صنعتی شاهرود
2 دانشیار، گروه زراعت و اصلاح نباتات، دانشکده کشاورزی، دانشگاه صنعتی شاهرود، ایران
چکیده
استفاده از فناوری‌های مبتنی بر مدیریت خاص مکانی که منجر به مبارزه مؤثر با علف هرز گردد و کمترین آسیب را به محصول اصلی وارد آورد، بسیار حائز اهمیت است. در این پژوهش، به منظور تمایز زعفران از دو علف هرز رایج آن یعنی ازمک و خاکشیر از تصاویر رنگی و راهبرد یادگیری عمیق مبتنی بر شبکه‌های عصبی پیچشی استفاده شد. 291 عکس از سه طبقه مذکور (زعفران، ازمک و خاکشیر) در شرایط کاملاً طبیعی مزرعه گرفته شد. عکس‌ها به اندازه 150 در 150 تصدانه تغییر ابعاد داده شدند و سپس، از داده‌افزایی برای افزایش مجازی تعداد تصاویر استفاده شد. ساختار پیشنهادی برای مدل یادگیری عمیق مشتمل بر مدل بهبودیافته VGG16 و اعمال وزن‏های اولیه با استفاده از روش انتقال یادگیری بود. با توجه به نتایج به‌دست‌آمده، دقت مدل پیشنهادی در داده‌های آزمون 91% و میزان خطا 3759/0 بود. در سه طبقه مدنظر، زعفران، ازمک و خاکشیر به ترتیب با امتیاز F1 معادل با 85%، 100% و 86% طبقه‌بندی شدند. نتایج همچنین نشان داد مدل در تمایز زعفران و ازمک از دو طبقه دیگر دارای دقت (Precision) معادل با 100% بود. این پژوهش را می‌توان به عنوان بستری در توسعه ربات‌ها به منظور مدیریت خاص مکانی علف هرز در مزارع زعفران مدنظر قرار داد.
کلیدواژه‌ها

موضوعات


عنوان مقاله English

Development of a deep learning model based on VGG16 network for classifying saffron plants and weeds by color images

نویسندگان English

Seyed Iman Saedi 1
Hassan Makarian 2
1 Department of Water and Soil , Faculty of Agricultural Engineering, Shahrood University of Technology
2 Assoc. Prof, Department of Agronomy and Plant Breeding, College of Agriculture, Shahrood University of Technology, Iran
چکیده English

Introduction
Precision agriculture technologies play a crucial role in optimizing crop management by enabling site-specific interventions, particularly in weed control. Traditional weed management methods often result in excessive herbicide use, environmental damage, and crop damage. Automated weed detection using deep learning offers a promising solution, accurately distinguishing between crops and weeds, thereby facilitating targeted removal. Saffron, a high-value crop, faces competition from invasive weeds such as Flixweed and Hoary Cress, which reduce yield and quality. This study leverages computer vision and deep learning to classify saffron and these two common weeds under natural field conditions. Convolutional Neural Networks (CNNs), were employed due to their proven effectiveness in image classification tasks. Transfer learning was applied to enhance model performance by utilizing pre-trained weights from ImageNet. The research aims to develop a robust classification model that can support precision agriculture tools, such as robotic weeders, by accurately identifying weeds while preserving the main crop. The success of this approach could significantly reduce herbicide use, lower production costs, and improve saffron yield through automated, site-specific weed management.
Method
A dataset of 291 field images of saffron, Flixweed, and Hoary Cress was collected under natural lighting and environmental conditions. Each image was resized to 150×150 pixels, and data augmentation techniques (e.g., rotation, flipping, scaling) were applied to expand the dataset and improve model generalization artificially. The study utilized the VGG16 CNN architecture, fine-tuned via transfer learning with ImageNet weights. The model was trained to classify the three plant categories, and its performance was evaluated using test data. Key metrics included accuracy, F1-score, and precision to assess classification effectiveness.

Results
The proposed model achieved an overall accuracy of 91% on unseen test data, with a loss of 0.3759. The F1-scores for Saffron, Hoary Cress, and Flixweed were 85%, 100%, and 86%, respectively. Notably, the model demonstrated perfect precision (100%) in distinguishing saffron from Hoary Cress, indicating no false positives for these classes. Flixweed recognition was slightly less precise but still highly effective (86% F1-score). The high classification accuracy suggests that deep learning, combined with transfer learning, is a viable approach for weed detection in precision agriculture. The model's ability to differentiate saffron from invasive weeds under real-world conditions supports its potential integration into automated weeding systems. These results suggest that robotic weeders equipped with such AI models can selectively target weeds while minimizing crop damage, thereby reducing reliance on broad-spectrum herbicides.

Conclusions
This study demonstrates the effectiveness of deep learning in distinguishing saffron from Flixweed and Hoary Cress under natural field conditions. The improved VGG16 model achieved high accuracy (91%) and near-perfect precision for certain weed classes, validating its potential for real-world agricultural applications. The findings provide a foundation for developing AI-driven weed removal robots, which could enhance precision farming by enabling targeted, sustainable weed management. Future research should focus on optimizing models for real-time processing and integration with robotic systems. Expanding the dataset to include more weed species and varying environmental conditions could further improve robustness. Overall, this work contributes to advancing precision agriculture technologies, offering a scalable solution for automated weed control in saffron fields and similar high-value crops.

Author Contributions
S.I. Saedi: Software, Methodology, Modeling, Writing of the initial draft, Final review, and editing.
H.Makarian: Review and editing of the text, Research, Data collection, Validation.
Data Availability Statement
Not applicable.

Acknowledgements
Not applicable.
Ethical Considerations
This section states ethical approval details (e.g., Ethics Committee, ethical code) and confirms adherence to ethical standards, including avoidance of data fabrication, falsification, plagiarism, and misconduct.

Conflict of Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper
Funding Statement
The author(s) received no specific funding for this research

کلیدواژه‌ها English

Color images
Saffron
Classification Weeding
Deep Learning