Seasonal Crops Disease Prediction and Classification Using Deep Convolutional Encoder Network

  • Aditya Khamparia
  • Gurinder Saini
  • Deepak GuptaEmail author
  • Ashish Khanna
  • Shrasti Tiwari
  • Victor Hugo C. de Albuquerque


Agriculture plays a significant role in the growth and development of any nation’s economy. But, the emergence of several crop-related diseases affects the productivity in the agriculture sector. To cope up this issue and to make aware the farmers to prevent the expansion of diseases in crops and to implement effective management, crop disease diagnosis plays its significant role. Researchers had already used many techniques for this purpose, but some vision-related techniques are yet to be explored. Commonly used techniques are support vector machine, k-means clustering, radial basis functions, genetic algorithm, image processing techniques like filtering and segmentation, deep structured learning techniques like convolutional neural network. We have designed a hybrid approach for detection of crop leaf diseases using the combination of convolutional neural networks and autoencoders. This research paper provides a novel technique to detect crop diseases with the help of convolutional encoder networks using crop leaf images. We have obtained our result over a 900-image dataset, out of which 600 constitute the training set and 300 test set. We have considered 3 crops and 5 kinds of crop diseases. The proposed network was trained in such a way that it can distinguish the crop disease using the leaf images. Different convolution filters like 2 × 2 and 3 × 3 are used in proposed work. It was observed that the proposed architecture achieved variation in accuracy for the different number of epochs and for different convolution filter size. We reached 97.50% accuracy for 2 × 2 convolution filter size in 100 epochs, while 100% accuracy for 3 × 3 filter size which is better than other conventional methods.


Crop disease detection Convolutional encoder network Convolutional neural network (CNN) Deep learning Autoencoder 



VHCA received support from the Brazilian National Council for Research and Development (CNPq, Grant # 304315/2017-6 and #430274/2018-1).

Compliance with Ethical Standards

Conflict of interest

The authors acknowledge that they have no competing and conflict of interest.


  1. 1.
    A.D. Almási, S. Woźniak, V. Cristea, Y. Leblebici, T. Engbersen, Review of advances in neural networks: neural design technology stack. Neurocomputing 174, 31–41 (2016)CrossRefGoogle Scholar
  2. 2.
    P. Barré, B.C. Stöver, K.F. Müller, V. Steinhage, LeafNet: a computer vision system for automatic plant species identification. Ecol. Inform. 40(May), 50–56 (2017)CrossRefGoogle Scholar
  3. 3.
    Department of Agriculture, Cooperation & Farmers Welfare, Annual Report, 2016–17. Accessed July 2018
  4. 4.
    M. Dyrmann, H. Karstoft, H.S. Midtiby, Plant species classification using deep convolutional neural network. Biosyst. Eng. 151(2005), 72–80 (2016)CrossRefGoogle Scholar
  5. 5.
    K.P. Ferentinos, Deep learning models for plant disease detection and diagnosis. Comput. Electron. Agric. 145(January), 311–318 (2018)CrossRefGoogle Scholar
  6. 6.
    D. Gupta, A. Ahlawat, Taxonomy of GUM and usability prediction using GUM multistage fuzzy expert system. Int. Arab J. Inf. Technol. 6, 14–25 (2018)Google Scholar
  7. 7.
    D. Gupta, A. Ahlawat, Usability determination using multistage fuzzy system. Procedia Comput. Sci. 5, 5–9 (2016). Google Scholar
  8. 8.
    D. Gupta, A. Ahlawat, Usability evaluation of live auction portal. Int. J. Control Theory Appl. SCOPUS 9(40), 24–32 (2016)Google Scholar
  9. 9.
    D. Gupta, A. Ahlawat, Usability prediction of live auction using multistage fuzzy system. Int. J. Artif. Intell. Appl. Smart Dev. 5(1), 11–20 (2017)Google Scholar
  10. 10.
    D. Gupta, A. Ahlawat, Usability feature selection via MBBAT: a novel approach. J. Comput. Sci. 23, 195–203 (2017)CrossRefGoogle Scholar
  11. 11.
    D. Gupta, A. Ahlawat, K. Sagar, Usability prediction and ranking of SDLC models using fuzzy hierarchical usability model. Open Eng. Central Eur. J. Eng. ESCI SCOPUS 7(1), 161–168 (2017)Google Scholar
  12. 12.
    D. Gupta, A. Ahlawat, K. Sagar, A critical analysis of a hierarchy based usability model, in 2014 International Conference on Contemporary Computing and Informatics (IC3I) (IEEE, 2014)Google Scholar
  13. 13.
    D. Gupta, A. Khanna, Software usability datasets. Int. J. Pure Appl. Math. SCOPUS 117(15), 1001–1014 (2017)Google Scholar
  14. 14.
    D. Gupta, J.J.P.C. Rodrigues, S. Sundaram, A. Khanna, V. Korotaev, V.H.C. Albuquerque, Usability feature extraction using modified crow search algorithm: a novel approach. Neural Comput. Appl. (2018). Google Scholar
  15. 15.
    D. Gupta, K. Sagar, Remote file synchronization single-round algorithm. Int. J. Comput. Appl. 4(1), 32–36 (2010)Google Scholar
  16. 16.
    J. Gu et al., Recent advances in convolutional neural networks. Pattern Recogn. 5(2), 43–49 (2017)MathSciNetGoogle Scholar
  17. 17.
    Y. Guo, Y. Liu, A. Oerlemans, S. Lao, S. Wu, M.S. Lew, Deep learning for visual understanding: a review. Neurocomputing 187, 27–48 (2016)CrossRefGoogle Scholar
  18. 18.
    E. Hamuda, B. Mc Ginley, M. Glavin, E. Jones, Improved image processing-based crop detection using Kalman filtering and the Hungarian algorithm. Comput. Electron. Agric. 148, 37–44 (2018)CrossRefGoogle Scholar
  19. 19.
    T. Huang, R. Yang, W. Huang, Y. Huang, X. Qiao, Detecting sugarcane borer diseases using support vector machine. Inf. Process. Agric. 5(1), 74–82 (2018)Google Scholar
  20. 20.
    S. Ioffe, C. Szegedy, Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift (Wiley Publication, 2015)Google Scholar
  21. 21.
    R. Jain, D. Gupta, A. Khanna, Usability feature optimization using MWOA, in International Conference on Innovative Computing and Communication (ICICC), vol. 2 (2018)Google Scholar
  22. 22.
    S. Ji, C. Zhang, A. Xu, Y. Shi, Y. Duan, 3D convolutional neural networks for crop classification with multi-temporal remote sensing images. Remote Sens. 10(1), 75–84 (2018)CrossRefGoogle Scholar
  23. 23.
    C.Y. Liou, W.C. Cheng, J.W. Liou, D.R. Liou, Autoencoder for words. Neurocomputing 139, 84–96 (2014)CrossRefGoogle Scholar
  24. 24.
    W. Liu, Z. Wang, X. Liu, N. Zeng, Y. Liu, F.E. Alsaadi, A survey of deep neural network architectures and their applications. Neurocomputing 234, 11–26 (2017)CrossRefGoogle Scholar
  25. 25.
    J. Lu, J. Hu, G. Zhao, F. Mei, C. Zhang, An in-field automatic wheat disease diagnosis system. Comput. Electron. Agric. 142, 369–379 (2017)CrossRefGoogle Scholar
  26. 26.
    M. Mahmud, M.S. Kaiser, A. Hussain, S. Vassanelli, Applications of deep learning and reinforcement learning to biological data. IEEE Trans. Neural Netw. Learn. Syst. 29(6), 1–33 (2018). arXiv: 1711. 03985v2 [cs. LG] MathSciNetCrossRefGoogle Scholar
  27. 27.
    A. Patnaik, D. Gupta, Unique identification system. Int. J. Comput. Appl. 7(5), 16–28 (2010)Google Scholar
  28. 28.
    A. Picon, A. Alvarez-Gila, M. Seitz, A. Ortiz-Barredo, J. Echazarra, A. Johannes, Deep convolutional neural networks for mobile capture device-based crop disease classification in the wild. Comput. Electron. Agric. 138, 200–209 (2018)Google Scholar
  29. 29.
    PlantVillage Disease Classification Challenge. Accessed June 2018
  30. 30.
    S. Qian, H. Liu, C. Liu, S. Wu, H.S. Wong, Adaptive activation functions in convolutional neural networks. Neurocomputing 272, 204–212 (2018)CrossRefGoogle Scholar
  31. 31.
    J. Schmidhuber, Deep Learning in neural networks: an overview. Neural Netw. 61, 85–117 (2015)CrossRefGoogle Scholar
  32. 32.
    K. Shankar, S.K. Lakshmanaprabu, D. Gupta, A. Maseleno, V.H.C. de Albuquerque, Optimal features-based multi-kernel SVM approach for thyroid disease classification. J. Supercomput. (2018). Google Scholar
  33. 33.
    H.C. Shin et al., Deep convolutional neural networks for computer-aided detection: CNN architectures, dataset characteristics and transfer learning. IEEE Trans. Med. Imaging 35(5), 1285–1298 (2016)CrossRefGoogle Scholar
  34. 34.
    V. Singh, A.K. Misra, Detection of plant leaf diseases using image segmentation and soft computing techniques. Inf. Process. Agric. 4(1), 41–49 (2017)Google Scholar
  35. 35.
    S. Sladojevic, M. Arsenovic, A. Anderla, D. Culibrk, D. Stefanovic, Deep neural networks based recognition of plant diseases by leaf image classification. Comput. Intell. Neurosci. 2016, 3289801 (2016)CrossRefGoogle Scholar
  36. 36.
    E.C. Too, L. Yujian, S. Njuki, L. Yingchun, A comparative study of fine-tuning deep learning models for plant disease identification. Comput. Electron. Agric. 22, 135–152 (2018)Google Scholar

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2019

Authors and Affiliations

  1. 1.School of Computer Science and EngineeringLovely Professional UniversityJalandharIndia
  2. 2.Maharaja Agrasen Institute of TechnologyDelhiIndia
  3. 3.Division of ExaminationsLovely Professional UniversityJalandharIndia
  4. 4.Graduate Program in Applied InformaticsUniversity of FortalezaFortalezaBrazil

Personalised recommendations