Open Access iconOpen Access

ARTICLE

An Adaptive Features Fusion Convolutional Neural Network for Multi-Class Agriculture Pest Detection

Muhammad Qasim1,2, Syed M. Adnan Shah1, Qamas Gul Khan Safi1, Danish Mahmood2, Adeel Iqbal3,*, Ali Nauman3, Sung Won Kim3,*

1 Department of Computer Science, University of Engineering and Technology, Taxila, 47050, Pakistan
2 Department of Computer Science, Shaheed Zulfikar Ali Bhutto Institute of Science and Technology, Islamabad, 44000, Pakistan
3 School of Computer Science and Engineering, Yeungnam University, Gyeongsan-si, 38541, Republic of Korea

* Corresponding Authors: Adeel Iqbal. Email: email; Sung Won Kim. Email: email

(This article belongs to the Special Issue: Advanced Algorithms for Feature Selection in Machine Learning)

Computers, Materials & Continua 2025, 83(3), 4429-4445. https://doi.org/10.32604/cmc.2025.065060

Abstract

Grains are the most important food consumed globally, yet their yield can be severely impacted by pest infestations. Addressing this issue, scientists and researchers strive to enhance the yield-to-seed ratio through effective pest detection methods. Traditional approaches often rely on preprocessed datasets, but there is a growing need for solutions that utilize real-time images of pests in their natural habitat. Our study introduces a novel two-step approach to tackle this challenge. Initially, raw images with complex backgrounds are captured. In the subsequent step, feature extraction is performed using both hand-crafted algorithms (Haralick, LBP, and Color Histogram) and modified deep-learning architectures. We propose two models for this purpose: PestNet-EF and PestNet-LF. PestNet-EF uses an early fusion technique to integrate handcrafted and deep learning features, followed by adaptive feature selection methods such as CFS and Recursive Feature Elimination (RFE). PestNet-LF utilizes a late fusion technique, incorporating three additional layers (fully connected, softmax, and classification) to enhance performance. These models were evaluated across 15 classes of pests, including five classes each for rice, corn, and wheat. The performance of our suggested algorithms was tested against the IP102 dataset. Simulation demonstrates that the Pestnet-EF model achieved an accuracy of 96%, and the PestNet-LF model with majority voting achieved the highest accuracy of 94%, while PestNet-LF with the average model attained an accuracy of 92%. Also, the proposed approach was compared with existing methods that rely on hand-crafted and transfer learning techniques, showcasing the effectiveness of our approach in real-time pest detection for improved agricultural yield.

Keywords

Artificial neural network (ANN); support vector machine (SVM); deep neural network (DNN); transfer learning (TL)

Cite This Article

APA Style
Qasim, M., Shah, S.M.A., Safi, Q.G.K., Mahmood, D., Iqbal, A. et al. (2025). An Adaptive Features Fusion Convolutional Neural Network for Multi-Class Agriculture Pest Detection. Computers, Materials & Continua, 83(3), 4429–4445. https://doi.org/10.32604/cmc.2025.065060
Vancouver Style
Qasim M, Shah SMA, Safi QGK, Mahmood D, Iqbal A, Nauman A, et al. An Adaptive Features Fusion Convolutional Neural Network for Multi-Class Agriculture Pest Detection. Comput Mater Contin. 2025;83(3):4429–4445. https://doi.org/10.32604/cmc.2025.065060
IEEE Style
M. Qasim et al., “An Adaptive Features Fusion Convolutional Neural Network for Multi-Class Agriculture Pest Detection,” Comput. Mater. Contin., vol. 83, no. 3, pp. 4429–4445, 2025. https://doi.org/10.32604/cmc.2025.065060



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 725

    View

  • 232

    Download

  • 0

    Like

Share Link