Efficient Weed Detection Using CNN with an Autonomous Robot

Vijaya Bhaskar Reddy Muvva, Ramesh Kumpati, Wojciech Skarka
{"title":"Efficient Weed Detection Using CNN with an Autonomous Robot","authors":"Vijaya Bhaskar Reddy Muvva, Ramesh Kumpati, Wojciech Skarka","doi":"10.1109/UVS59630.2024.10467043","DOIUrl":null,"url":null,"abstract":"In this work, Artificial intelligence and IoT based robotic network is proposed to optimize the crop growth in the agriculture fields of Sultanate of Oman. Traditionally, weed detection systems use color and texture features from images. Machine learning algorithms then identify the weeds depending on these features. But the major drawback with feature extraction is the loss of originality, quality of the image, and performance issues. To overcome these issues, we propose an easy and efficient weed detection model using deep-learning techniques. In this research, an image comparison model using convolutional neural networks (CNN) was developed for weed detection. Visual studio code with python programs is used for simulating the model. First, to train the CNN model, we collected a sample of 1300 images from various Potato agriculture farms in Sohar with a pixel size of 512 by 512 (512 * 512) and grouped them into two clusters. Among them, Cluster one comprises 737 weed images, while Cluster two comprises 563 non-weed images. However, loading these images takes more time and requires more memory. It will affect the performance of the model. So, we resized the images to 200 by 200 (200 * 200) pixels and stored them in 2-dimensional array as binary values with a seed value 42. The binary values are stored in a memory as zero (0) for non-weed images and one (1) for weed images. This array of values is given input into a CNN using a rectified linear unit as the activation function for convolution and normalization. As a result, each image will be compared with each other and detect the weeds effectively. Nevertheless, 64 iterations of the model are required to improve its efficiency. Second, the model was tested using random images from both clusters, and it successfully identified weeds and non-weeds. At last, we developed an autonomous robot with an ESP32 microcontroller with motors and embedded it with a Raspberry Pi 3B+ with a camera to test the model efficiency in real time. The robot detected the weed and non-weed images with 95.96% accuracy.","PeriodicalId":518078,"journal":{"name":"2024 2nd International Conference on Unmanned Vehicle Systems-Oman (UVS)","volume":"12 8","pages":"1-7"},"PeriodicalIF":0.0000,"publicationDate":"2024-02-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2024 2nd International Conference on Unmanned Vehicle Systems-Oman (UVS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/UVS59630.2024.10467043","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In this work, Artificial intelligence and IoT based robotic network is proposed to optimize the crop growth in the agriculture fields of Sultanate of Oman. Traditionally, weed detection systems use color and texture features from images. Machine learning algorithms then identify the weeds depending on these features. But the major drawback with feature extraction is the loss of originality, quality of the image, and performance issues. To overcome these issues, we propose an easy and efficient weed detection model using deep-learning techniques. In this research, an image comparison model using convolutional neural networks (CNN) was developed for weed detection. Visual studio code with python programs is used for simulating the model. First, to train the CNN model, we collected a sample of 1300 images from various Potato agriculture farms in Sohar with a pixel size of 512 by 512 (512 * 512) and grouped them into two clusters. Among them, Cluster one comprises 737 weed images, while Cluster two comprises 563 non-weed images. However, loading these images takes more time and requires more memory. It will affect the performance of the model. So, we resized the images to 200 by 200 (200 * 200) pixels and stored them in 2-dimensional array as binary values with a seed value 42. The binary values are stored in a memory as zero (0) for non-weed images and one (1) for weed images. This array of values is given input into a CNN using a rectified linear unit as the activation function for convolution and normalization. As a result, each image will be compared with each other and detect the weeds effectively. Nevertheless, 64 iterations of the model are required to improve its efficiency. Second, the model was tested using random images from both clusters, and it successfully identified weeds and non-weeds. At last, we developed an autonomous robot with an ESP32 microcontroller with motors and embedded it with a Raspberry Pi 3B+ with a camera to test the model efficiency in real time. The robot detected the weed and non-weed images with 95.96% accuracy.
利用 CNN 和自主机器人进行高效杂草探测
在这项工作中,提出了基于人工智能和物联网的机器人网络,以优化阿曼苏丹国农田中的作物生长。传统的杂草检测系统使用图像的颜色和纹理特征。然后,机器学习算法根据这些特征识别杂草。但是,特征提取的主要缺点是丢失原始图像、图像质量和性能问题。为了克服这些问题,我们利用深度学习技术提出了一种简单高效的杂草检测模型。本研究利用卷积神经网络(CNN)开发了一种用于杂草检测的图像比较模型。该模型的模拟使用了包含 python 程序的 Visual studio 代码。首先,为了训练卷积神经网络模型,我们从苏哈尔的各个马铃薯农场收集了 1300 张像素大小为 512 x 512 (512 * 512) 的图像样本,并将它们分成两个群组。其中,第一组包括 737 幅杂草图像,第二组包括 563 幅非杂草图像。然而,加载这些图像需要更多时间和内存。这会影响模型的性能。因此,我们将图像大小调整为 200 x 200 (200 * 200) 像素,并以种子值 42 作为二进制值存储在二维数组中。非杂草图像的二进制值存储为 0,杂草图像的二进制值存储为 1。该值数组输入到 CNN 中,CNN 使用整流线性单元作为激活函数进行卷积和归一化。因此,每幅图像都会相互比较,从而有效地检测出杂草。不过,该模型需要迭代 64 次才能提高效率。其次,我们使用两个集群的随机图像对模型进行了测试,结果表明该模型能成功识别杂草和非杂草。最后,我们利用带电机的 ESP32 微控制器开发了一个自主机器人,并将其嵌入带摄像头的 Raspberry Pi 3B+ 中,以实时测试模型的效率。机器人检测杂草和非杂草图像的准确率为 95.96%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信