Journal of Intelligent Systems and Internet of Things

Chili Leaf Disease Detection Using Deep Feature Extraction

Pallepati Vasavi, A. Punitha, T. VenkatNarayana Rao
Volume 9, Issue 2, pp. 222-230 (2023)
DOI: https://doi.org/10.54216/JISIoT.090216
Online: https://www.americaspg.com/journal/18/article/2083

Abstract

Diseases in crops lead to decreased production, which can be addressed through consistent surveillance. Manual surveillance of crop diseases is both arduous and prone to mistakes. The timely identification of crop leaf diseases using Computer Vision and Artificial Intelligence can aid in minimizing the negative impact of diseases and address the limitations of continuous human surveillance.  To classify chili crop diseases, this research paper introduces a new deep feature extraction model based on Transfer Learning using ResNet50, MobileNet, EfficientNetB0, and multiple classifiers. On Plant Village dataset related to the diseases of the chili crop and Private data set, the proposed method was trained and tested. And also analyzed the results by comparing the performance of the pre-trained deep learning models on original data and data filtered through the Image filtering mechanisms and proposed method on the plant village dataset and private dataset, the highest performance accuracy is 99.6% with ResNet50 and the faster CPU time for feature extraction is 29.3 seconds using MobileNet. Comparing the suggested model to the most advanced deep learning models reveals greater accuracy with fewer computational resources.

Keywords: Plant disease detection; MobileNet; ResNet; EfficientNet; Transfer Learning; Deep feature extraction; chili diseases

Figure

Chili Leaf Disease Detection Using Deep Feature Extraction

Pallepati Vasavi1,*, A. Punitha1, T. VenkatNarayana Rao2

Figure

Received: August 01, 2023 Revised: September 09, 2023 Accepted September 16, 2023 Keywords: Plant disease detection; MobileNet; ResNet; EfficientNet; Transfer Learning; Deep feature extraction; chili diseases

Figure
Figure

Barbedo and Jayme [4] investigate the utility of individual lesions for disease identification, improving data variability without additional images and enabling the detection of multiple diseases. This method achieves 12% higher average accuracies compared to using original images, maintaining accuracies above 75% even with up to 10 diseases. In preparation for training, all images were resized to meet the requirements of GoogLeNet, which are 224 x 224 x 3 pixels. Experiments are divided into two groups, one focusing on classifying observed symptoms, and three sets of images are employed for each crop. Another experiment evaluates severe class imbalance by augmenting image sets to achieve equal samples for all diseases, comparing results with unbalanced data. This article offers a way to substantially increase the diversity and size of datasets. Militante et al. [5] proposed a system to detect approximately 35,000 images of various plant leaf diseases. Data augmentation is used to improve the dataset. The model achieved a training accuracy of 96.5% after 75 epochs and a maximum accuracy of 100% when testing with random images. Future work could involve expanding the dataset with more plant varieties and diseases and experimenting with different CNN architectures, learning rates, and optimizers to improve model performance and accuracy. Mohameth et al. [6] evaluated the application of CNN with TL and deep feature extraction using the PV Dataset. The features obtained from the models are classified using SVM and KNN, with the results indicating SVM as the best classifier for crop leaf disease recognition. ResNet50 outperformed VGG16 and Google Net in terms of feature extraction. Ashok et al. [7] employed image pre-processing to enhance tomato leaf images by reducing noise and blur using a Gaussian filter. Feature extraction is performed using DWT and GLCM, utilizing sub-bands and correlation coefficients to classify leaf images based on luminous levels. A CNN algorithm is used for hierarchical feature extraction, mapping pixel values, and classifying them through fully connected layers. The proposed approach achieves a high accuracy of 98.12%, outperforming AlexNet and ANN models. Chowdhury et al. [8] developed a deep learning architecture based on EfficientNet for classifying tomato leaf diseases using plain and segmented leaf images. The modified U-net segmentation model achieves high accuracy for segmenting leaf images. EfficientNet-B7 performs well in binary and six-class classifications with segmented images, while EfficientNet-B4 excels in ten-class classifications. The models show improved performance when trained on segmented images, with EfficientNet-B7 and EfficientNet-B4 delivering the best results for different classification tasks. Bedi, Punam, and Gole, Pushkar [9] proposed a DL model for plant disease recognition that decreases the count of training parameters by employing a dimensionality reduction technique called CAE before classification using CNN. This model attains a testing accuracy of 98.38%, outperforming several existing research studies while using significantly fewer training parameters. Although the testing accuracy is a little lower than some state-of-the-art systems, this model offer faster training and prediction times due to its reduced parameter count. This makes it suitable for automatic plant disease recognition on low-computation devices. Paymode, Ananda, and Malode, Vandana [10] proposed a method for the detection and classification of grape and tomato diseases using CNN methods for identifying Multi-Crops Leaf Disease and extracting image features using a deep learning model to classify healthy and diseased leaves. Authors employ the VGG model for improved performance scores. The model achieves high accuracy in classifying disease-affected leaves, with 98.40% accuracy for grapes and 95.71% accuracy for tomatoes. S. M. Hassan and A. K. Maji [11] built a novel DL model utilizing the inception and residual connection, with depth wise separable convolution to decrease parameters. The model achieves high accuracy on 3 plant disease datasets: 99.39% on Plant Village, 76.59% on the imbalanced cassava dataset, and 99.66% on Rice. Compared to other DL architectures, the proposed method has lesser parameters and faster performance. The model demonstrates robustness and satisfactory performance on various plant disease datasets, indicating its effectiveness in disease detection. Saeed et al. [12] proposed a model aimed at diagnosing tomato diseases using Inception V3 and Inception ResNet V2. These models were trained on a combination of PV dataset and real time images, totaling 5225 images. Dropout rates ranging from 5% to 50% were investigated, and performances were achieved with the Inception V3 and Inception ResNet V2 using a 50% dropout rate and the model using a 15% dropout rate. Both models achieved an accuracy of 99.22% and a loss of 0.03, indicating their competitiveness and high accuracy in diagnosing tomato leaf diseases. Arumuga Arun et al. [13] present the Complete Concatenated Deep Learning architecture, a multi crop class detection model capable of classifying crop diseases across different crops. The architecture introduces the Complete Concatenated Block as a core functional unit, utilizing point convolution layers to reduce model parameters. The complete concatenation path enhances feature map utilization for improved classification accuracy. This architecture is trained and pruned to create the Pruned Complete Concatenated Deep Learning model, with the PCCDL-PSCT variant achieving the highest classification accuracy of 98.14% and a reduced model size of approximately 10 MB. 3. Methodology

Figure
Figure

In this section, the experiments were trained and tested in 2 ways in a Laptop with AMD Ryzen 5 4600H with Radeon Graphics, 3000 MHZ, 6 cores, 12 logical processors, 32 GB of RAM, and NVIDIA® GeForce® GTX 1650Ti graphics. Firstly, TL with MobileNet, ResNet50, and EfficientNetB0 on three datasets based on PV includes Original (PV_Original), Gaussian filtered (PV_GF), and Unsharp filtered (PV_UF). PV_GF and PV_UF datasets were created by applying corresponding image filtering mechanisms as these scored highest PSNR and SSIM values among mean, median and Gabor filters represented in Table 2. Then, next experiment includes deep feature extraction with MobileNet, ResNet50 and EfficientNet, classification [22] with CART, LR, NB, LDA, SVM, KNN, RF, GB, ADA and MLP on PV and private dataset. The experimental results are shown in Table 4 and 5. Table 1: Dataset details

Public-Plant Village (2475) Private (671)

PVD PVH PD1 PD2 PD3 PH PD4 997 1478 102 159 139 179 92 Table 2: Applying Filters on Public Data set (Healthy and Bacterial Leaf Spot)

Figure

Dataset _EfficientNetB0 ResNet50 MobileNet PV_Original 98.4 99.6 98.8 PV_GF 95.7 98 97.5 PV_UF 96.9 99.22 98.4 From Table 3, for the PV dataset, ResNet50 shows the highest performance with an accuracy of 99.6%, followed by MobileNet with an accuracy of 98.8%. EfficientNetB0 has the lowest performance among the three models, with an accuracy of 98.4%. The PV_UF data set achieves higher performance compared to the PV_GF data set. In Table 4, each row represents a different model’s performance measures includes Accuracy, Precision, loss, F1 score, Specificity, Sensitivity, and the columns show the classifier type for each model for the . It is observed from the table that with the MobileNet deep extraction model, SVM and LR seem to be the most promising models, while MLP performs the worst based on the metrics. By considering ResNet50 deep extraction model, the performances of LR, SVM, and ADA show promising results, while LDA show relatively lower performance. In Table 5, ResNet50 outperforms MobileNet across all machine learning models in terms of accuracy on the private dataset. LR, RF and Multi-layer Perceptron (MLP) seem to be the top-performing models for both MobileNet and ResNet50, with LR achieving the highest accuracy for both. It is also observed from the table 4 and 5 ResNet50 is most accurate model to classify chili leaf diseases. The faster CPU time for feature extraction is 29.3 seconds using MobileNet represented in Table 6. Figure 1 (a), (b) and (c) represents accuracy and loss for training and validation sets. In Figure 2, the x and y axis of the graph represents accuracy and classifier.

Table 4. Performance measures of proposed method on various classifiers for the PV data set
Table 4. Performance measures of proposed method on various classifiers for the PV data set

Sensitivity 0.95 0.93 0.81 0.88 0.95 0.96 0.95 0.95 0.91 0.95 Table 5: Accuracies of proposed method on various classifiers for the Private data set

Model LR LDA CART NB SVM RF KNN GB ADA MLP MobileNet 85.12 69.88 70.57 72.64 78.57 76.19 77.98 70.83 72.98 77.81 ResNet50 90.48 76.79 77.29 81.55 87.5 88.1 85.12 77.98 81.07 88.1

Table 6. Resource Utilization of various models using proposed method
Table 6. Resource Utilization of various models using proposed method
Figure 2. Accuracies of various classifiers
Figure 2. Accuracies of various classifiers

5. Conclusion and Future works

The detection of plant diseases in their early stages poses a considerable challenge for researchers. Various ML and DL techniques have been explored to automate the procedure of crop leaf disease detection. In this paper, a novel hybrid model is proposed for automatic crop leaf disease detection, leveraging transfer learning on the PV dataset of the chili class. The proposed model attains an impressive testing accuracy of 99.59% by employing deep feature extraction with ResNet50 and Adaboost classifier. It highlights the superior performance of the proposed hybrid model based on ResNet50. Furthermore, this paper conducts a comparative analysis of the performance of EfficientNetB0, MobileNet, and ResNet50 models in the context of 3 datasets, including Original, Gaussian Filtered and Unsharp Filtered. MobileNet has also given notable accuracy and easily fits into smart computing devices. In future research, a significant reduction in training parameters is anticipated, which will greatly reduce the time required for model training in automatic plant disease detection. Consequently, the trained model will be capable of efficiently identifying diseases in plants within a shorter time frame.

References

  1. https://tradestat.commerce.gov.in – Website accessed on 3rd August,2023.
  2. Vasavi P, Punitha A, NarayanaRao TV. Crop leaf disease detection and classification using machine learning and deep learning algorithms by visual symptoms: a review. Int J ElectrComputEng (IJECE) 2022 ;12(2):2079. Available from: https://ijece.iaescore.com/index.php/IJECE/article/view/25809"
  3. Hughes DP, Salathe M. An open access repository of images on plant health to enable the development of mobile disease diagnostics, 2015. Available from: http://arxiv.org/abs/1511.08060"
  4. Barbedo, Jayme. (2019). Plant disease identification from individual lesions and spots using deep learning. Biosystems Engineering. 180. 96-107. 10.1016/j.biosystemseng.2019.02.002.
  5. S. V. Militante, B. D. Gerardo and N. V. Dionisio, ""Plant Leaf Detection and Disease Recognition using Deep Learning,"" 2019 IEEE Eurasia Conference on IOT, Communication and Engineering (ECICE), Yunlin, Taiwan, 2019, pp. 579-582, doi: 10.1109/ECICE47484.2019.8942686.
  6. Mohameth, F. ,Bingcai, C. and Sada, K. (2020) Plant Disease Detection with Deep Learning and Feature Extraction Using Plant Village. Journal of Computer and Communications, 8, 10-22. doi: 10.4236/jcc.2020.86002
  7. S. Ashok, G. Kishore, V. Rajesh, S. Suchitra, S. G. G. Sophia and B. Pavithra, ""Tomato Leaf Disease Detection Using Deep Learning Techniques,"" 2020 5th International Conference on Communication and Electronics Systems (ICCES), Coimbatore, India, 2020, pp. 979-983, doi: 10.1109/ICCES48766.2020.9137986.
  8. Chowdhury, Muhammad &Rahman, Tawsifur&Khandakar, Amith&Ayari, Mohamed & Khan, Aftab& Khan, Muhammad Salman & Al-Emadi, Nasser &Reaz, Mamun Bin Ibne& Islam, Mohammad & Ali, Sawal. (2021). Automatic and Reliable Leaf Disease Detection Using Deep Learning Techniques. AgriEngineering. 3. 294-312. 10.3390/agriengineering3020020.
  9. Bedi, Punam&Gole, Pushkar. (2021). Plant disease detection using a hybrid model based on convolutional autoencoder and convolutional neural network. Artificial Intelligence in Agriculture. 5. 90-101. 10.1016/j.aiia.2021.05.002.
  10. Paymode, Ananda&Malode, Vandana. (2022). Transfer Learning for Multi-Crop Leaf Disease Image Classification using Convolutional Neural Network VGG. Artificial Intelligence in Agriculture. 6. 10.1016/j.aiia.2021.12.002.
  11. S. M. Hassan and A. K. Maji, "Plant Disease Identification Using a Novel Convolutional Neural Network," in IEEE Access, vol. 10, pp. 5390-5401, 2022, doi: 10.1109/ACCESS.2022.3141371.
  12. Saeed, A., Abdel-Aziz, A. A., Mossad, A., Abdelhamid, M. A., Alkhaled, A. Y., &Mayhoub, M. (2023). Smart Detection of Tomato Leaf Diseases Using Transfer Learning-Based Convolutional Neural Networks. Agriculture, 13(1), 139. https://doi.org/10.3390/agriculture13010139
  13. ArumugaArun, R., and S. Umamaheswari. ‘Effective Multi-Crop Disease Detection Using Pruned Complete Concatenated Deep Learning Model’. Expert Systems with Applications, vol. 213, 2023, p. 118905, https://doi.org10.1016/j.eswa.2022.118905
  14. P.L, Chithra and P, Bhavani, A Study on Various Image Processing Techniques (May 7, 2019). International Journal of Emerging Technology and Innovative Engineering Volume 5, Issue 5, May 2019, Available at SSRN: https://ssrn.com/abstract=3388008
  15. Zeiler, M.D. & Fergus, R.. (2013). Visualizing and understanding convolutional networks. European Conference on Computer Vision(ECCV). 8689. 818-833.
  16. Yosinski J, Clune J, Bengio Y, Lipson H. How transferable are features in deep neural networks? arXiv [cs.LG]. 2014 Available from: http://arxiv.org/abs/1411.1792
  17. Krizhevsky, A., Sutskever, I., Hinton, G.E.: Imagenet classification with deep convo-lutional neural networks. In: Advances in neural information processing systems.pp. 1097–1105 (2012)
  18. Orenstein, Eric C., and Oscar Beijbom. "Transfer learning and deep feature extraction for planktonic image data sets." 2017 IEEE Winter Conference on Applications of Computer Vision (WACV). IEEE, 2017.
  19. He K, Zhang X, Ren S, Sun J. Deep residual learning for image recognition. InProceedings of the IEEE conference on computer vision and pattern recognition 2016 (pp. 770-778).
  20. Howard AG, Zhu M, Chen B, Kalenichenko D, Wang W, Weyand T, et al. MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications. arXiv [cs.CV]. 2017 Available from: http://arxiv.org/abs/1704.04861
  21. Tan M, Le QV. EfficientNet: Rethinking model scaling for convolutional Neural Networks . arXiv [cs.LG]. 2019 . Available from: http://arxiv.org/abs/1905.11946.
  22. Ahad, Abdul & Ayub Khan, Abdullah & Talpur, Mir Sajjad & Talpur, Hussain & Kayijuka, Idrissa & Yaşar, Erkan. (2022). Machine Learning Classifiers: A Brief Primer. 5. 63-68.