
Journal of Smart Sensors and Computing

A multidisciplinary, peer-reviewed, quarterly, open-access journal dedicated to advancing research and innovation in sensor technologies and computational methods.
A Deep Learning Framework for Smart Agriculture: Real-Time Weed Classification Using Convolutional Neural Network
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
Cite article
S. S. Salve, S. S. Chakraborty, S. Gandhewar, S. S. Girhe, A deep learning framework for smart agriculture: real time weed classification using convolutional neural network, Journal of Smart Sensors and Computing, 2025, 1(1), 25205, doi: . https://doi.org/10.64189/ssc.25205
Rights and permissions
(c) The Author(s) 2025.

Open Access
This article is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License, which permits the non-commercial use, sharing, adaptation, distribution and reproduction in any medium or format, as long as appropriate credit is given and changes are indicated. https://creativecommons.org/licenses/by-nc/4.0/
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 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.
Graphical Abstract

Novelty Statement
A robust weed detection and elimination system needed to efficiently boost up the agriculture sector.

