Abstract
Currently, Deep Learning is playing an influential role for Image analysis and object classification. Maize’s diseases reduce production that subsequently becomes prominent factor for the economic losses in the agricultural industry worldwide. Previously, researchers have used hand-crafted-features for image classification and detection of leaf diseases in Maize plant. Nowadays, the development of the Deep Learning has allowed researchers to drastically improve the accuracy of object identification and classification. Therefore, this paper explores AlexNet model for fast and accurate detection of leaf disease in maize plant. For validating the result, we have used PlantVillage dataset. This dataset contains two categories of maize diseases namely leaf-spot based diseases (Cercospora and Gray) and the Common rust based diseases. The former category contains 1363 images and the latter category contains 929 images. One of the biggest advantages of CNN is to automatically extract the features by processing the raw images directly. By using various iteration such as 25, 50, 75 and 100, our model has obtained an accuracy of 99.16%. In future, the proposed work can be used as a practical tool to help farmer in detecting the aforementioned diseases and protect the maize crops.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
1 Introduction
Maize corn (known as Zea mays L) crop is one of the most versatile emerging agricultural produces, having wider adaptability under varies agro-climatic conditions. It is the third-largest agricultural produce after the wheat and rice. Maize is the second most popular cereal crop and therefore it is rightly known as “Queen of Cereals”. It contains 79.95% starch, 10.11% protein and 4.19% fat, supplying an energy density of 3365 Kcal/Kg. Maize is mainly cultivated in upland traces during kharif season. The color of maize depicts in between yellow, lemon yellow, and gamboge. The unique feature of maize is its interior diversity. The different maize corn such as grain maize, sweet corn, baby corn and popcorn are mainly cultivated in the India shown as Fig. 1 shows (a) Grain maize (b) Sweet corn (c) Baby corn, and(d) Popcorn. Maize is usually consumed after boiling it in water, fried, or burnt over fire.
The maize crop is subjected to many diseases and attacks by crop eating insects. The Maize leaf diseases mainly results into the decreases in the production and economical loss to the farmers. Artificial intelligence is a major area where machine learning and deep learning are defined in layering structure. Significant applications [2, 9, 29] and solution increase the demand of the AI techniques currently. AI techniques are explored in the successive results of health sector like malaria cell detection [1]. Due to the technological advancement over the last few years, the problem of plant disease analysis and severity approximation has attracted a lot of attention by the researchers and practitioners [4]. This problem is related to agriculture sector, it has a very significant role to play in the growth of Indian economy. It contributes about 17% to the total GDP and provides employment to over 60% of the population [31]. The relevance of the problem of maize diseases to the societal context of the country, it motivates further research in the field of plant disease identification and severity analysis.
The plant disease identification and classification [22] employs the use of advance technology and digital tools for the detection and classification of plant diseases, as the traditional methods (where manual monitoring is done and farmers have limited facilitation, exposure and technological support) under practice are not efficient [32]. This raises the urgent requirement to investigate computer assisted methods and classification models which will recognize the plants suffering from diseases and healthy plants at early stage, so that remedial treatment can be applied in timely manner. Literature indicates that image processing has been used in diverse agriculture diagnosis applications for the timely detection of plant diseases and acknowledgement of plant fitness. The disease-diagnosis [26] is a challenging task depending on its symptoms such as color spots or rust, seen on the leaves of a plant. In maize plants, Cercospora and Gray leaf spot diseases are shown in Fig. 2 and Common rust based diseases are demonstrated in Fig. 3. Whereas, the healthy leaf of maize crop is presented in Fig. 4. The diseases in the form of their visual symptoms could be traced down to the leaves or stem of a plant [14].
The prevention of the maize plant from the disease can be done by using computer vision techniques [25]. Recently, use of Deep Convolution neural networks [21] have witnessed new development in the area of Machine Learning (ML). Machine Learning methods exhibit a very strong ability of extracting feature and classification of object-detection [16] and other related fields [17, 18]. It can extract features of images at layer by layer from pixel-level. The recent research has documented and demonstrated the development in the area of automatic digital computer vision such as Brain and breast cancer detection [30], automatic detection motor vehicle without helmet [5], face mask detection [24] etc. During the literature study, various deep learning model [8, 7, 10, 27] are implemented for the getting appropriate solutions. Artificial Neural network [13] was designed with the use of genetic algorithm for weight evolution purpose. The objective of this research is automatic defect classification of cherry image where each were classified into seven categories. Leaf Vain Pattern based plant identification model was developed by [12] using Convolution Neural Network (CNN). Automatic feature extraction and classification [28] of tomato plant leaf disease using CNN had been developed with the use of Learning Vector Quantization (LVQ) algorithm. Multi-class based plant disease classification [23] has targeted by deep convolution neural network where 96.02% accuracy is achieved with 32 epochs. The ResNet [6] has been implemented for plant seedling image classification with the objective of plant farming.
2 Proposed AlexNet network
AlexNet Model [11] is an implementation of 8-layer CNN which targeted successfully ImageNet Large Scale Visual Recognition Challenge 2012. The layering structure of AlexNet aspects like LeNet network, but AlexNet has been advanced and detailed with more convolutional layers and advanced parameter space. The basic objective of Alexnet is that the features obtained by learning can be surpassed by hand crafted features, breaching the previous model in visual object. In the first part, the input images of 224 × 224 × 3 are filtered by the first convolution layer with 96 kernels of size 3 × 3 × 3 with stride of 1pixel with max pooling filter size 2 with kernel size 96. Then, the second convolution layer takes the feature maps from the first layer and convolved with 96 filters of size 3 × 3 × 256. The second part also contains two convolution layers. The pooled feature maps from the first part are to feed to the second convolution layers of this part. In third part, we have used two convolution layers with filter size 3 × 3 × 3 and kernel size are 384. In the fourth part, one convolution layer and one max pooling layer is applied with the kernel size 256 and filter size 3 × 3 × 256. After performing convolution and pooling fifth part, the output is fed into three fully connected layers which have 4096 neurons, 4096 neurons and 1000 neurons, respectively. The activation function named ReLU [20] is applied in each layer. For obtaining maximum features of the images, the max pooling layer has been added. Various convolution operations are applied in maize images. Various types of features have been extracted in the form of edge, curve, line etc (Fig. 5).
The extracted features are passed through the fully connected layers for the summarizing all extract features into best features and CNN classifier has provided resultant image with one-dimension that is helpful for classification. The proposed AlexNet CNN model is given by Fig. 6.
2.1 Input layer
The maize image as the input is applied into CNN model for testing purpose. For this work, Images are taken from the PlantVillage dataset [21]. In the dataset, Maize plant images are contained with healthy and unhealthy category. Maize images are resized uniformly in 224 × 224 × 3 (height is 224, width is 224, and number of color channel is 3) structure. Further, data augmentation operations [3] like rotation, zoom-in, zoom-out, blurring, back ground noise, brightness, darkness are applied to maize images.
2.2 Convolution layer
The convolution is the first layer of the AlexNet that performs convolution operation from the input image. Convolution layer extracts the feature of image with the use of filters to produce the output feature maps that is formulated as Eq. 1.
where \({x}_{j}^{l}\) is output feature map, \({M}_{j}\) is a set of input map, \({x}_{ij}^{l}\) is a kernel, and \({b}_{j}^{l}\) is a bias.
The feature map of the output is given and expressed by Eq. 2
where, \(O\) is height/length of the output features, \(W\) is height/ length of the input feature, \(K\) is Filter size, \(P\) is Padding and \(S\) is stride.
The padding P is calculated as
where, \(K\) is the filter size.
2.3 ReLU layer (Rectified Linear Unit)
The ReLU activation function [19] use in case of non-linearity. Convolution layer perform linear operation in convolution operation. ReLU activation will apply after each convolution layer. The ReLU layer convert all the negative value into zero or positive value. ReLU activation can be expressed with Eq. 4.
It is used maximum value \(f\left(x\right)\) compare the \(x\)and \(0\), if the value is negative then maximum value is \(0\). Processing of Convolution layer, Hidden layer, fully connected layer and output layer can be shown Fig. 6.
2.4 Max pooling layer
In the Max_pooling layer, pooling operation is performed where maximum element from the area of the feature map used by the filter. it means input pixel value divide into the multiple non-overlapping block and maximum element is used for generating the maximum feature map. Max_pooling reduced the output pixel size taken from the input.
2.5 Dropout layer
Dropout layer is just as a regular layer of the CNN model. The input neurons with a particular probability are drop out such that every neuron is able to calculate features that are low dependent on its surroundings. This process is complete into the training phase.
2.6 Batch normalization layer
The Batch Normalization layer is processed between the two layers such as convolution and ReLU layer. In the Batch Normalization layer, the training speed is increased and initialization of network is reduced. The activations of each channel are normalized by subtracting the mini-batch mean and dividing by the mini-batch standard deviation.
This is a \(\varvec{\beta }\) offset by the shifting input and \(\varvec{\gamma }\) is factor of scaling. These \(\varvec{\beta } \ \varvec{and} \ \varvec{\gamma }\) updated by training phase the batch normalized output \({\varvec{y}}_{\varvec{i}}\).
Where \({\widehat{\varvec{x}}}_{\varvec{i}}\) is the normalization of activation \({\varvec{x}}_{\varvec{i}}\)
where \(\in\) is a constant, \({\varvec{\mu }}_{\varvec{B}}\) is the mini-batch mean and \({\varvec{\sigma }}_{\varvec{B}}^{2}\) is the mini-batch.
where, \(\varvec{m}\) is the mini-batch size.
2.7 Fully connected layer
In the fully connected layer, all the neurons value of this layer is connected to all the neurons in the previous layer and connected to the next layer that is combining the all features from the previous layer to facilitate classification.
2.8 Softmax function
The Softmax function is used for classification layer. The Softmax operation produce the output a statistics probability distribution based classification values. The CNN model classified the maximum probability value as an output. Function can be expressed as Eq. 9.
where, \(P\left({c}_{r}|x,\theta \right)\le 1\), \(\sum _{j=1}^{k}P\left(x,\theta |{c}_{j}\right)\) =1 \(P\left(x,\theta |{c}_{r}\right)\) and \(P\left(x,\theta |{c}_{r}\right)\) is the conditional entropy probability of instance given class\(r\) and is the class priori probability (Table 1).
3 Maize Plant Leaf Disease classification and identification
3.1 Input image acquire of Maize Plant Disease
Maize leaf images are taken from PlantVillage dataset [15] for the research objective. We have taken 1363 unhealthy images where 410 images used for Cercospora leaf spot, Gray leaf spot, and 953 images used for Common rust. 929 healthy leaf images of maize plant are used for testing the disease. The qualities of acquiring dataset images are good but we are using preprocessing for resizing the image of 224 × 224 × 3 pixels and its corresponding feature maps. The dataset contains three types of diseases image of maize plant and healthy leaf. The dataset divides into two parts first one is training set, and second one is testing set. The whole Dataset have divided into 60% for training i.e. 1363 images and rest 40% images are used for testing purpose i.e. 929 images. The image dataset has mainly three various maize leaf diseases Cercospora leaf spot, Gray leaf spot, and Common rust with healthy maize leaf. Sample of PlantVillage dataset images can be shown in Fig. 1.
4 Analysis of the model
In the proposed study, AlexNet Model has been implemented for disease detection of maize leaf disease. The proposed AlexNet model has used 5 convolution layer and 3 max_pooling layers and various numbers of epochs such as 25, 50, 75, and 100 times iteration perform. We have observed that performance of accuracy is increased when the number of iteration increases. The AlexNet CNN have calculated model tested accuracy after the total number of 25 epochs is 87.2222 as shown in Table 2. Calculated model tested accuracy after the total number of epochs 50 is 98.6111 as shown in Table 4, calculated model tested accuracy after the total number of epochs 75 is 99.7222 as shown in Table 3, and same as after the total number of epochs 100 is 99.6111 as shown in Table 5. The proposed deep learning AlexNet CNN model used a loss function to optimize the algorithm of machine learning. The calculation of loss function based on the explanation training and validation model is working in two sets. Validation loss depends on the total number of images tested and the numbers of the image are not tested by the model.
A metric of the accuracy is used to explain the execution of the algorithms calculated data. An accuracy loss depends on the total number of the image which is not accurately tested by the proposed CNN model. Accuracy is the prediction of an accurate result as compared to the true data. The calculated data of the AlexNet CNN model graphical representation as per above table of the Training and validation accuracy for maize leaf disease shown in Fig. 7.
The experiment is performed with different epoch sizes like 25, 50, 75, and 100 for classification using AlexNet. Figure 7 show graphical representation of the training and validation accuracy for maize plant. The paper concluded that difference between trained dataset and validation data set is high when we test our experiment with epoch size 25 and 50. For getting better result, we have tested our model on epoch size 75 and 100. The experiment aimed that we have achieved tested accuracy 99.16%. Figure 8 shows graphical representation of the training and validation loss for maize plant. By the experimented observation, we found accuracy loss is high in the case of epoch size 25 and corresponding validation loss is also high. So that the poor classification is done this is not trustable tested accuracy. It gives 87.22% accuracy. Thus, epochs size has been increased to 50, 75, and 100. We noticed that accuracy loss is minimized as compares to case of epoch size 25. In this way, we reduce the tested loss till 0.0014.
The proposed model shows the result after epoch number 100, the accuracy for the trained dataset is 98.89% and according to the accuracy loss is 06.27% both of the training and testing dataset. Validation accuracy is 76.11% and.
Validation loss is 24.04% depending upon the model testing the dataset. The experimental results of training and validation accuracy for the maize leaf dataset and training and validation loss can be seen in Table 2, 3, 4, and 5. The efficiency of the model is established by comparing with other soft computing techniques VGG16, SVM, and ANN can be seen by Table 6.
VGG16 give the better classification result when volume of dataset is higher. It does not give efficient result in the case smaller dataset. The other challenging issue with VGG 16 is that it does not accept the leaf image having size of less than 224\(\times\)224. If we proceed with low size of image, then it does not provide expected results. SVM are commonly applied as classification model for plant disease detection and classification. It applied when two classes have separate margin means i.e. classes have best support. SVM is not suited for large volume of datasets as VGG16. If noise is occurred in the leaf images, then it does not give proper results i.e. objective classes will have overlapped. Other challenging issue with SVM is that it becomes fail when number of features for every data point surpasses the no. of training data samples. ANN is type of neural network used as classification model. ANN is from of interconnection of neurons. ANN has the ability to handle multiple features of plant leaf at the same time. But the training process of ANN cannot stop suddenly. Due to the unexplained behavior, ANN does not give efficient plant classification results.
5 Conclusions
We have proposed a deep neural network for the identification and classification Maize leaf diseases. As we aware with the losses due to the biological factors influencing the plant health. This not only influences the crop productivity but also affects the nature as well. Also, a major impact can be seen on the wealth of farmers. Therefore, it becomes essential to introduce some artificial intelligence to extract the diseases on time and furthermore treating them as well. For this study, when experimental results are validated on diseases and when compared with different methods prove that the proposed method achieves higher performance with an accuracy of 99.16%. During the analysis, main challenge is emerged in large number of iterated AlexNet CNN associated with epoch iteration and control the large number of datasets of maize disease. This study can be efficiently applie so that it gives instant information about maize disease. It also reduces the Outbreaks, upsurges, which causes huge losses to maize crops and pastures and threatening the livelihoods of vulnerable farmers.
References
Alok N, Krishan K, Chauhan P (2021) Deep learning-based image classifier for malaria cell detection. Machine learning for healthcare applications. Wiley, Hoboken, pp 187–197
An Y, Li H, Su T, Wang Y (2021) Determining uncertainties in AI applications in aec sector and their corresponding mitigation strategies. Autom Constr 131:103883. https://doi.org/10.1016/j.autcon.2021.103883
Arivazhagan S, Ligi SV (2018) Mango leaf diseases identification using convolutional neural network. Int J Pure Appl Math 120:11067–11079
Barbedo JGA (2016) A review on the main challenges in automatic plant disease identification based on visible range images. Biosyst Eng 144:52–60. https://doi.org/10.1016/j.biosystemseng.2016.01.017
Boonsirisumpun N, Puarungroj W, Wairotchanaphuttha P (2018) Automatic detector for bikers with no helmet using deep learning. 2018 22nd Int Comput Sci Eng Conf ICSEC 2018, 1–4. https://doi.org/10.1109/ICSEC.2018.8712778
Chauhan P, Mandoria HL, Negi A (2021) Deep residual neural network for plant seedling image classification. Agricultural informatics. Wiley, Hoboken, pp 131–146
Chen J, Zhang D, Nanehkaran YA (2020) Identifying plant diseases using deep transfer learning and enhanced lightweight network. Multimed Tools Appl 79:31497–31515. https://doi.org/10.1007/s11042-020-09669-w
Chouhan SS, Kaul A, Singh UP, Jain S (2018) Bacterial foraging optimization Based Radial Basis Function Neural Network (BRBFNN) for identification and classification of plant leaf diseases: an automatic approach towards plant pathology. IEEE Access 6:8852–8863. https://doi.org/10.1109/ACCESS.2018.2800685
Darbari A, Kumar K, Darbari S, Patil PL (2021) Requirement of artificial intelligence technology awareness for thoracic surgeons. Cardiothorac Surg 29:13. https://doi.org/10.1186/s43057-021-00053-4
Fathi Kazerouni M, Mohammed Saeed NT, Kuhnert K-D (2019) Fully-automatic natural plant recognition system using deep neural network for dynamic outdoor environments. SN Appl Sci 1:756. https://doi.org/10.1007/s42452-019-0785-9
Gonzalez TF (2007) Handbook of approximation algorithms and metaheuristics. Chapman and Hall/CRC, Boca Raton
Grinblat GL, Uzal LC, Larese MG, Granitto PM (2016) Deep learning for plant identification using vein morphological patterns. Comput Electron Agric 127:418–424. https://doi.org/10.1016/j.compag.2016.07.003
Guyer D, Yang X (2000) Use of genetic artificial neural networks and spectral imaging for defect detection on cherries. Comput Electron Agric 29:179–194. https://doi.org/10.1016/S0168-1699(00)00146-0
He K, Zhang X, Ren S, Sun J, Recognition P (2016) (CVPR). IEEE, pp 770–778
Hughes DP, Salathe M (2015) An open access repository of images on plant health to enable the development of mobile disease diagnostics. Available: https://arxiv.org/abs/1511.08060
Kaushal M, Khehra BS, Sharma A (2018) Soft Computing based object detection and tracking approaches: State-of-the-Art survey. Appl Soft Comput 70:423–464. https://doi.org/10.1016/j.asoc.2018.05.023
Kermany DS, Goldbaum M, Cai W et al (2018) Identifying medical diagnoses and treatable diseases by image-based deep learning. Cell 172:1122. https://doi.org/10.1016/j.cell.2018.02.010
Koirala A, Walsh KB, Wang Z, McCarthy C (2019) Deep learning – Method overview and review of use for fruit detection and yield estimation. Comput Electron Agric 162:219–234. https://doi.org/10.1016/j.compag.2019.04.017
Maas, A.L. (2013) Rectifier nonlinearities improve neural network acoustic models, Proceedings of the 30th International Conference on Machine Learning, Atlanta, Georgia, USA, 2013. https://ai.stanford.edu/~amaas/papers/relu_hybrid_icml2013_final.pdf
Marsola TC, Lorena AC (2019) Meteor detection using deep convolutional neural networks. 8:380–383. https://doi.org/10.17648/sbai-2019-112456
Mohanty SP, Hughes DP, Salathé M (2016) Using deep learning for image-based plant disease detection. Front Plant Sci 7:1–10. https://doi.org/10.3389/fpls.2016.01419
Nazki H, Yoon S, Fuentes A, Park DS (2020) Unsupervised image translation using adversarial networks for improved plant disease recognition. Comput Electron Agric 168:105117. https://doi.org/10.1016/j.compag.2019.105117
Negi A, Kumar K, Chauhan P (2021) Deep neural network-based multi‐class image classification for plant diseases. Agricultural informatics. Wiley, Hoboken, pp 117–129
Negi A, Kumar K, Chauhan P, Rajput RS, Systems I (2021) (ICCCIS). IEEE, pp 595–600
Patrício DI, Rieder R (2018) Computer vision and artificial intelligence in precision agriculture for grain crops: A systematic review. Comput Electron Agric 153:69–81. https://doi.org/10.1016/j.compag.2018.08.001
Prasad S, Peddoju SK, Ghosh D (2016) Multi-resolution mobile vision system for plant leaf disease diagnosis. Signal, Image Video Process 10:379–388. https://doi.org/10.1007/s11760-015-0751-y
Sachar S, Kumar A (2021) Survey of feature extraction and classification techniques to identify plant through leaves. Expert Syst Appl 167:114181. https://doi.org/10.1016/j.eswa.2020.114181
Sardogan M, Tuncer A, Ozen Y, Engineering (2018) (UBMK). IEEE, pp 382–385
Shams SR, Jahani A, Kalantary S et al (2021) Artificial intelligence accuracy assessment in NO2 concentration forecasting of metropolises air. Sci Rep 11:1805. https://doi.org/10.1038/s41598-021-81455-6
Shen L (2017) End-to-end training for whole image breast cancer diagnosis using an all convolutional design. https://doi.org/10.1038/s41598-019-48995-4. arXiv 1–12
Shrivastava S, Singh SK, Hooda DS (2015) Color sensing and image processing-based automatic soybean plant foliar disease severity detection and estimation. Multimed Tools Appl 74:11467–11484. https://doi.org/10.1007/s11042-014-2239-0
Singh V, Misra AK (2017) Detection of plant leaf diseases using image segmentation and soft computing techniques. Inf Process Agric 4:41–49. https://doi.org/10.1016/j.inpa.2016.10.005
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Singh, R.K., Tiwari, A. & Gupta, R.K. Deep transfer modeling for classification of Maize Plant Leaf Disease. Multimed Tools Appl 81, 6051–6067 (2022). https://doi.org/10.1007/s11042-021-11763-6
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-021-11763-6