Legume Research
Web of Science
  • Year: 2026
  • Volume: 49
  • Issue: 4

Evaluation of a Convolutional Neural Network-based Model for Accurate Detection and Multi-class Classification of Economically Significant Soybean Pests using RGB Image Data

  • Author:
  • Pragalbh Sharma1*, Ashish Kulkarni2, Shalini Sharma3, Pooja Kulkarni4, Shweta Karsauliya5, Sandeep Dongre6
  • Total Page Count: 9
  • Page Number: 692 to 700

1Institute of Business Management, GLA University, Mathura-281 406, Uttar Pradesh, India.

2Department of Computer Science and Applications, School of Computer Science and Engineering, Dr. Vishwanath Karad MIT World Peace University, Kothrud, Pune-411 038, Maharashtra, India.

3Department of Language, Culture and Society, SRM Institute of Science and Technology, Delhi NCR Campus, Modinagar, Ghaziabad-201 204, Uttar Pradesh, India.

4Vishwakarma University, Pune-411 048, Maharashtra, India.

5Department of Urban Planning, Indira Gandhi National Open University, New Delhi-110 068, India.

6Symbiosis Institute of Business Management, Constituent of Symbiosis International (Deemed University), Nagpur-440 008, MaharashtraIndia.

*Corresponding Author: Pragalbh Sharma, Institute of Business Management, GLA University, Mathura-281 406, Uttar Pradesh, India. Email: pragalbh.sharma@gla.ac.in

Abstract

Soybean (Glycine max) is a vital legume crop cultivated worldwide for its high protein and oil content. However, its productivity is significantly affected by various insect pests that damage leaves, stems and pods during different growth stages. Pests like aphids, armyworms and bollworms can cause substantial yield losses if not detected and controlled promptly. Manual pest monitoring through field scouting remains the dominant practice but is labour-intensive, inconsistent and prone to human error, particularly in large-scale farming systems. The integration of artificial intelligence, particularly deep learning, offers a scalable solution for automating pest detection.

This study presents a convolutional neural network (CNN) model designed to detect and classify seven major insect pests commonly found in soybean crops. A dataset consisting of 2,450 RGB images was collected from online resources. The images were preprocessed, augmented and split into training, validation and test sets. The CNN was built using six convolutional layers with ReLU activations, followed by max-pooling layers, a fully connected dense layer and a softmax output layer for classification. The model was trained for 100 epochs using the Adam optimizer and sparse categorical cross-entropy loss.

The final model achieved an overall accuracy of 96.88% on the test set. Class-wise evaluation showed high classification matrices across all categories. ROC-AUC values reached 1.00 for all pest classes, indicating excellent classification performance. Precision-recall curves also showed high average precision scores, confirming the model’s reliability. These results demonstrate the model’s potential for practical application in real-time pest monitoring systems used in precision agriculture.

Keywords

Convolutional neural network, Image classification, Pest detection, Precision agriculture, Soybean pests