Submitted:
09 September 2023
Posted:
12 September 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
- To develop a deep learning model using CNN for potato leaf disease detection.
- To use transfer learning technique for several pretrained models for achieving the most accurate classification.
- To detect and recognize the potato leaf diseases e.g. Healthy, Early Blight, Late blight
- To increase model robustness by using the normalization technique and data augmentation technique.
- To mitigate the test loss of potato leaf disease detection.
- To remove overfitting problems by using data augmentation technique and dropout layer.
- To Compare the classification accuracy among different Pretrained models and our Proposed CNN Model.
- To recognize and visualize the potato leaf disease using the best-performed model that is our Proposed CNN Model.
2. Literature Review
3. Process of Potato Leaf Disease Classification
3.1. Image Acquisition
3.2. Image Preprocessing
3.3. Image Augmentation
3.4. Feature Extraction
3.5. Classification
3.6. Evaluation and Recognition
4. Materials And Methods
4.1. CNN
4.1.1. Convolutional Layer
4.1.2. Pooling layer
4.1.3. Fully Connected layer
4.1.4. Stride and Padding
4.1.5. Activation Function
4.1.6. Dropout Layer
4.2. Transfer learning
4.3. Pretrained Network Models
4.3.1. VGG16
4.3.2. MobileNetV2
4.3.3. ResNet50
4.3.4. InceptionV3
4.3.5. Xception
4.4. Proposed Model
- The input image size of our model is .
- This input image is directly used for feature extraction by Convolution + ReLU operation using CNN.
- We employ three sets of Convolutional layers with ascending filter sizes (16,32, 64, and 128) and utilize ReLU activation functions to capture hierarchical features.
- Subsequent to each Convolutional layer, MaxPooling layers are incorporated to diminish spatial dimensions.
- The Flatten layer transforms the output derived from the Convolutional layers into a one-dimensional vector.
- We introduce two fully connected layers, comprising 128 and 64 neurons, and apply ReLU activation functions to facilitate more profound feature extraction.
- Dropout layers with a rate of 0.5 are inserted after each fully connected layer to mitigate the overfitting problem.
- The concluding layer is comprised of three neurons, aligning with the three distinct disease classes e.g. potato healthy, early blight, late blight, and employs softmax activation for the purpose of classification.
- To compile the model, we employ the Adam optimizer in conjunction with categorical cross-entropy loss, a suitable choice for tasks involving multi-class classification.
- Throughout training, the accuracy metric is employed to oversee the model’s performance.
5. Results and Discussion
- The convolution process, max polling, and flattening process are shown by the mathematical calculation of real-time pixel data from our potato leaf dataset.
- A deep learning model is proposed using CNN with fewer parameters and layers for the potato leaf disease classification.
- Model robustness is increased by normalizing the pixel values with the range from 0 to 1 and augmenting the data (e.g., random flip, shift, zoom, increase brightness, rotate, shear)
- The underfitting and overfitting problems are handled to increase the performance in our Proposed CNN Model.
- Batch normalization, data augmentation, and dropout layers are used to improve convergence and reduce overfitting in our Proposed CNN Model.
- Transfer learning is also used to detect potato leaf disease for the Pretrained models.
- All the model is evaluated in terms of test accuracy and test loss.
- The accuracy is compared among the Pretrained Models and the Proposed CNN Model.
- The highest test accuracy 99.33% and the lowest test loss of 1.43% is achieved in the Proposed CNN Model compared to other Pretrained models by removing overfitting and underfitting problems.
- The amount of test loss is significantly diminished in our Proposed CNN Model compared to others.
- The potato leaf disease is recognized by the Proposed CNN Model and achieved good performance on our test dataset.
6. Conclusion
7. Future work
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| CNN | Convolutional Neural Network |
| SVM | Support Vector Machine |
| FFNN | Feed Forward Neural Network |
| ReLU | Rectified Linear Unit |
| KNN | K-Nearest Neighbor |
| DT | Decision Tree |
| LR | Logistic Regression |
| RF | Random Forest |
| ANN | Artificial Neural Network |
| FC | Fully Connected |
| GAP | Global Average Pooling |
References
- Sanjeev, K.; Gupta, N.K.; Jeberson, W.; Paswan, S. Early prediction of potato leaf diseases using ANN classifier. Oriental Journal of Computer Science and Technology 2021, 13, 129–134. [Google Scholar] [CrossRef]
- Moharekar, T.T.; Pol, U.R.; Ombase, R.; Moharekar, T. ; others. DETECTION AND CLASSIFICATION OF PLANT LEAF DISEASES USING CONVOLUTION NEURAL NETWORKS AND STREAMLIT.
- Mahum, R.; Munir, H.; Mughal, Z.U.N.; Awais, M.; Sher Khan, F.; Saqlain, M.; Mahamad, S.; Tlili, I. A novel framework for potato leaf disease detection using an efficient deep learning model. Human and Ecological Risk Assessment: An International Journal 2023, 29, 303–326. [Google Scholar] [CrossRef]
- Al-Adhaileh, M.H.; Verma, A.; Aldhyani, T.H.; Koundal, D. Potato Blight Detection Using Fine-Tuned CNN Architecture. Mathematics 2023, 11, 1516. [Google Scholar] [CrossRef]
- Nazir, T.; Iqbal, M.M.; Jabbar, S.; Hussain, A.; Albathan, M. EfficientPNet—An Optimized and Efficient Deep Learning Approach for Classifying Disease of Potato Plant Leaves. Agriculture 2023, 13, 841. [Google Scholar] [CrossRef]
- Kothari, D.; Mishra, H.; Gharat, M.; Pandey, V.; Thakur, R. Potato Leaf Disease Detection using Deep Learning.
- Amaje, G.G. SWEET POTATO LEAF DISEASE DETECTION AND CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK. PhD thesis, 2022.
- Bangari, S.; Rachana, P.; Gupta, N.; Sudi, P.S.; Baniya, K.K. A survey on disease detection of a potato leaf using cnn. 2022 Second International Conference on Artificial Intelligence and Smart Energy (ICAIS). IEEE, 2022, pp. 144–149.
- Singh, S.; Agrawal, V. Corrigendum: Development of ecosystem for effective supply chains in 3D printing industry–an ISM approach (2021 IOP Conf. Ser.: Mater Sci Eng. 1136 012049). IOP Conference Series: Materials Science and Engineering. IOP Publishing, 2021, Vol. 1136, p. 012078.
- Tilahun, N.; Gizachew, B. Artificial Intelligence Assisted Early Blight and Late Blight Potato Disease Detection Using Convolutional Neural Networks. Ethiopian Journal of Crop Science 2020, 8. [Google Scholar]
- Gardie, B.; Asemie, S.; Azezew, K.; Solomon, Z. Potato Plant Leaf Diseases Identification Using Transfer Learning. Indian Journal of Science and Technology 2022, 15, 158–165. [Google Scholar] [CrossRef]
- Iqbal, M.A.; Talukder, K.H. Detection of potato disease using image segmentation and machine learning. 2020 international conference on wireless communications signal processing and networking (WiSPNET). IEEE, 2020, pp. 43–47.
- Rozaqi, A.J.; Sunyoto, A. Identification of disease in potato leaves using Convolutional Neural Network (CNN) algorithm. 2020 3rd International Conference on Information and Communications Technology (ICOIACT). IEEE, 2020, pp. 72–76.
- Asif, M.K.R.; Rahman, M.A.; Hena, M.H. CNN based disease detection approach on potato leaves. 2020 3rd International Conference on Intelligent Sustainable Systems (ICISS). IEEE, 2020, pp. 428–432.
- Sholihati, R.A.; Sulistijono, I.A.; Risnumawan, A.; Kusumawati, E. Potato leaf disease classification using deep learning approach. 2020 international electronics symposium (IES). IEEE, 2020, pp. 392–397.
- Hou, C.; Zhuang, J.; Tang, Y.; He, Y.; Miao, A.; Huang, H.; Luo, S. Recognition of early blight and late blight diseases on potato leaves based on graph cut segmentation. Journal of Agriculture and Food Research 2021, 5, 100154. [Google Scholar] [CrossRef]
- Hasan, M.N.; Mustavi, M.; Jubaer, M.A.; Shahriar, M.T.; Ahmed, T. Plant Leaf Disease Detection Using Image Processing: A Comprehensive Review. Malaysian Journal of Science and Advanced Technology 2022, 174–182. [Google Scholar] [CrossRef]
- Feng, J.; Hou, B.; Yu, C.; Yang, H.; Wang, C.; Shi, X.; Hu, Y. Research and Validation of Potato Late Blight Detection Method Based on Deep Learning. Agronomy 2023, 13, 1659. [Google Scholar] [CrossRef]
- Kang, F.; Li, J.; Wang, C.; Wang, F. A Lightweight Neural Network-Based Method for Identifying Early-Blight and Late-Blight Leaves of Potato. Applied Sciences 2023, 13, 1487. [Google Scholar] [CrossRef]
- Rashid, J.; Khan, I.; Ali, G.; Almotiri, S.H.; AlGhamdi, M.A.; Masood, K. Multi-level deep learning model for potato leaf disease recognition. Electronics 2021, 10, 2064. [Google Scholar] [CrossRef]
- Enkvetchakul, P.; Surinta, O. Effective data augmentation and training techniques for improving deep learning in plant leaf disease recognition. Applied Science and Engineering Progress 2022, 15, 3810–3810. [Google Scholar] [CrossRef]
- Cengıl, E.; Çinar, A. Multiple classification of flower images using transfer learning. 2019 International Artificial Intelligence and Data Processing Symposium (IDAP). IEEE, 2019, pp. 1–6.
- Liu, B.; Zhang, Y.; He, D.; Li, Y. Identification of apple leaf diseases based on deep convolutional neural networks. Symmetry 2017, 10, 11. [Google Scholar] [CrossRef]
- Arora, J.; Agrawal, U.; others. Classification of Maize leaf diseases from healthy leaves using Deep Forest. Journal of Artificial Intelligence and Systems 2020, 2, 14–26. [Google Scholar] [CrossRef]
- Zhang, X.; Qiao, Y.; Meng, F.; Fan, C.; Zhang, M. Identification of maize leaf diseases using improved deep convolutional neural networks. Ieee Access 2018, 6, 30370–30377. [Google Scholar] [CrossRef]
- Howlader, M.R.; Habiba, U.; Faisal, R.H.; Rahman, M.M. Automatic recognition of guava leaf diseases using deep convolution neural network. 2019 international conference on electrical, computer and communication engineering (ECCE). IEEE, 2019, pp. 1–5.
- Rangarajan Aravind, K.; Raja, P. Automated disease classification in (Selected) agricultural crops using transfer learning. Automatika: časopis za automatiku, mjerenje, elektroniku, računarstvo i komunikacije 2020, 61, 260–272. [Google Scholar] [CrossRef]
- Hassan, S.M.; Maji, A.K.; Jasiński, M.; Leonowicz, Z.; Jasińska, E. Identification of plant-leaf diseases using CNN and transfer-learning approach. Electronics 2021, 10, 1388. [Google Scholar] [CrossRef]
- Shrivastava, V.K.; Pradhan, M.K.; Minz, S.; Thakur, M.P. Rice plant disease classification using transfer learning of deep convolution neural network. The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences 2019, 42, 631–635. [Google Scholar] [CrossRef]
- Eunice, J.; Popescu, D.E.; Chowdary, M.K.; Hemanth, J. Deep learning-based leaf disease detection in crops using images for agricultural applications. Agronomy 2022, 12, 2395. [Google Scholar]

















| Journal Number | Data Source | Model | Accuracy |
|---|---|---|---|
| [1] | PlantVillage | FFNN, Feature extraction (Color, texture, shape) |
96.5% |
| [2] | PlantVillage | CNN, Deployment by Streamlit | 94.6% |
| [3] | PlantVillage, and captured by Camera |
DenseNet-201 | 97.2% |
| [4] | PlantVillage | CNN Model, Transfer learning | 99% |
| [5] | PlantVillage | EfficientPNet | 98.12% |
| [6] | PlantVillage | CNN Model | 97% |
| [7] | PlantVillage | CNN Model named Sequential Model |
91.41% |
| [8] | Captured by using Camera |
Image enhancement (CLAHE, Gaussian blur), Classification by CNN |
98.54% |
| [9] | PlantVillage | Classification by SVM, Feature extraction (Gray Level Co-occurrence Matrix) |
95.99% |
| [10] | PlantVillage | MobileNet, EfficientNet | 98% |
| [11] | PlantVillage | Transfer learning, InceptionV3 | 98.7% |
| [12] | PlantVillage, and Database(450 images) |
KNN, Decision Tree, Naive Bayes, Random Forest(RF), SVM |
RF-97% |
| [14] | Kaggle, Dataquest, and some manual images |
Customized CNN named Sequential Model, Data Augmentation |
97% |
| [15] | Potato plantation in Malang, Indonesia, and Google images |
VGG16, VGG19 | 91% |
| Label | Category of Leaf | Number | Training Sample | Validation Sample | Test Sample |
|---|---|---|---|---|---|
| 1 | Healthy | 500 | 300 | 100 | 100 |
| 2 | Early light | 500 | 300 | 100 | 100 |
| 3 | Late Blight | 500 | 300 | 100 | 100 |
| Total | 1500 | 900 | 300 | 300 |
| Label | Category of Leaf | Number | Training Sample | Validation Sample | Test Sample |
|---|---|---|---|---|---|
| 1 | Healthy | 900 | 700 | 100 | 100 |
| 2 | Early light | 1200 | 1000 | 100 | 100 |
| 3 | Late Blight | 1200 | 1000 | 100 | 100 |
| Total | 3300 | 2700 | 300 | 300 |
| Model | Parameter | Layer | Input Size | Filter Size | Polling | Activation Function |
Number of Convolution layer |
Number of MaxPool layer |
Number of FC layer |
|---|---|---|---|---|---|---|---|---|---|
| VGG16 | 138.4M | 16 | 224*224 | 3*3 | 2*2 MaxPool | ReLU | 13 | 5 | 3 |
| MobileNetV2 | 3.5M | 53 | 224*224 | 3*3, 1*1 | GAP | ReLU | 43 | - | - |
| ResNet50 | 25.6M | 50 | 224*224 | 3*3 | 3*3 Maxpool | ReLU | 49 | 5 | 1 |
| InceptionV3 | 23.62 M | 48 | 299*299 | 3*3, 5*5,1*1 | 3*3 MaxPool | ReLU | 47 | 4 | 2 |
| Xception | 22.85M | 71 | 299*299 | 3*3 | GAP | ReLU | 36 | - | - |
| Proposed CNN Model | 233K | 10 | 256*256 | 3*3 | 2*2 MaxPool | ReLU | 7 | 7 | 3 |
| Batch Size | 32 |
| Epochs | 80 |
| Loss Function | Categorical Cross Entropy |
| Optimizer for Model Training | Adam |
| Dropout | 0.5 |
| Classifier in Output Layer | Softmax |
| Model | Accuracy | Layer | Parameter | ||
|---|---|---|---|---|---|
| Total Parameter | Trainable Parameter | Non-trainable Parameter | |||
| VGG16 | 97.00% | 16 | 14,789,955 | 75,267 | 14,714,688 |
| ResNet50 | 85.00% | 50 | 23,888,771 | 301,059 | 23,587,712 |
| MobileNetV2 | 98.67% | 53 | 2,503,747 | 245,763 | 2,257,984 |
| InceptionV3 | 94.67%, | 48 | 21,956,387 | 153,603 | 21,802,784 |
| Xception | 98.00% | 71 | 21,475,883 | 614,403 | 20,861,480 |
| Proposed CNN Model | 99.33% | 10 | 233,187 | 233,187 | 0 |
| Model | Technique | Training Accuracy(%) |
Training Loss(%) |
Test Accuracy(%) |
Test Loss(%) |
Model Fit | |
|---|---|---|---|---|---|---|---|
| Transfer Learning | Data Augmentation | ||||||
| VGG16 | Yes | No | 100.00 | 0.03087 | 97.00 | 6.85 | Overfit |
| ResNet50 | Yes | No | 97.00 | 9.39516 | 85.00 | 48.82 | Under fit |
| MobileNetV2 | Yes | No | 100.00 | 0.00006 | 98.67 | 7.44 | Overfit |
| InceptionV3 | Yes | No | 100.00 | 0.00155 | 94.67 | 29.26 | Overfit |
| Xception | Yes | No | 100.00 | 0.00018 | 98.00 | 9.12 | Overfit |
| Proposed CNN Model | No | Yes | 98.71 | 3.35295 | 99.33 | 1.43 | Good fit |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).