Research Article |
Open Access
|
| Published online: 29
May 2025
A Deep Learning Framework for Smart Agriculture: Real-Time Weed
Classification Using Convolutional Neural Network
Sushilkumar S. Salve*, Sourav S. Chakraborty, Sanskar Gandhewar and Shrutika S. Girhe
Department of Electronics and Telecommunication, Sinhgad Institute of Technology, Lonavala, Maharashtra, 410401, India
*Email: sushil.472@gmail.com
J. Smart Sens. Comput., 2025, 1(1), 25205 https://doi.org/10.64189/ssc.25205
Received: 05 April 2025; Revised: 15 May 2025; Accepted: 27 May 2025
Abstract
Agricultural sector being the foundation of food supply and raw material production contributes significantly to the GDP growth and value chain. Thus, the effective elimination of weed in modern day agriculture is essential as the current world scenario demands for efficient and resourceful ways for crop cultivation and harvesting. The urgent need for elimination of weeds arises due to their tendency to extricate all the essential minerals and moisture that the crops require for their appropriate growth. The main objective of this study is to successfully acquire live video feed as input, classification into categories of crop, weed and none. Finally, upon detection of weed the spraying mechanism releases a predetermined amount of herbicide upon the weed. A total of 5471 image samples were captured to train the CNN model. The prototype mentioned in this paper uses Convolutional Neural Network (CNN) technique for feature extraction, Fully Connected Layers or Dense Layers (FCLs) for classification using SoftMax as the activation function respectively. The activation function also here is being used to remove all negative (less significant) values. Also, a comprehensive comparison was made between the CNN and YOLOv4 technique and performance parameters of both were evaluated. The CNN technique achieved an accuracy of 95.50% whereas YOLOv4 achieved 91.00%. Finally, the F1 Score was evaluated to be 96.25% and 91.96% respectively. Compared to existing models, our prototype demonstrated higher accuracy and real-time adaptability in field conditions, proving suitable for autonomous weed management systems. Unlike earlier systems that depended mostly on stored images or fixed datasets, our approach stands out by using a live video feed to identify weeds in real-time. It’s built on a mobile platform that can automatically spray herbicides, making precision farming possible without the need for constant human supervision.
Graphical Abstract
Novelty statement
A robust Weed detection and elimination system is the needed in-order to efficiently boostup the agriculture sector.