Plant Leaf Disease Detection Using Machine Learning
Plant Leaf Disease Detection Using Machine Learning
https://doi.org/10.22214/ijraset.2023.52895
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue V May 2023- Available at www.ijraset.com
Abstract: A crucial component of describing plants for tracking plant growth is plant phenotyping. In this research, an effective
method for identifying healthy, damaged, or infected leaves utilising image processing and machine learning approaches is
presented. Many illnesses deplete the chlorophyll of brown or black markings appear on the leaf area of the leaves. They can be
found out utilising machine learning methods for classification, feature extraction, picture preprocessing, and image
segmentation. Grey Level Co-occurrence Matrix (GLCM) is used for feature extraction. One of the machine learning techniques
used for classification is called the Support Vector Machine (SVM). When compared to the SVM method, the Convolutional
Neural Network (CNN) produced better recognition accuracy. Finding disease on crops is a crucial responsibility in agricultural
techniques.
Keywords: Machine Learning, SVM, CNN.
I. INTRODUCTION
Agriculture is notable in India because it is a developing nation. Almost 58% of rural India's livelihood is influenced by agriculture.
One of the most often used agricultural items is the tomato. Thus, preventing a severe reduction in tomato production and quantity
reliant in large part on the identification and classification of any diseases that a tomato plant may have.
By utilising various sorts of techniques and algorithms, such as image processing, the most recent and advancing technologies are
applied to address such problems. When a tomato plant contracts a certain type of disease, the leaves are first affected. The research
uses four sequential steps to identify the type of sickness. Pre-processing, leaf segmentation, feature extraction, and classification are
thefour steps. eliminating the noise A plant disease symptom is a disease's outward manifestationin the plant. A noticeable alteration
in the plant's colour, shape, or functionality as a result of the disease is one of the symptoms. Leaf Wilting is a typical sign of the
fungal plant diseases Verticillium albo-atrum and V. dahliae, which cause verticilium wilt. Brown, necrotic lesions with a brilliant
yellow halo at the leaf margin or inside the leaf are typical signs of bacterial blight on bean plants. Instead of the illness pathogen
itself, you are actually viewing a symptom that the infection is causing. indications of fungal disease:
Sclerotinia; • Leaf rust (common leaf rust in corn); • Stem rust (wheat stem rust); (white mold) Particulate mildew Symptoms of a
fungus: • Birds-eye spot on
B. Steps Used
1) Dataset Classification
It's important to choose the right set of images for the model's training. To get specific photos, the centroid of each image is
determined.Contours can be used to compute the centroid. A contour is a curve that connects each point on a shape's edge.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 5928
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue V May 2023- Available at www.ijraset.com
Contour can be very precisely recognised on binary pictures. This function takes three arguments: the source image, the contour
retrieval mode, and the contour approximation technique. The function's output includes the photos, contours, and hierarchy. All
image contours are included in the output.
Every contour is an array of boundary point (x, y) coordinates. The coordinates to be stored are specified using the contour
approximation method. All boundary points are stored in CHAIN APPROX NONE. Because only two points are required to
determine the contour of a straight line, all points are not necessary. This type of output is produced by CHAIN APPROX SIMPLE
by compressing the contour and removing all unnecessary points.
4) Testing
A set of photos are used to test the trained model. The network is fed with random images, and the output label is compared to the
image's original, well-known label. factors that are employed in evaluation are the F1 score, recall, and precision. The percentage of
correctly predicted positives is known as precision. The proportion of actual positives that were correctly classified is provided by
recall. The F1 score aids in preserving a balance between recall and precision. Surveys conducted using GBD provide evidence for
the necessity for such developments. Several authors have published a variety of studies on relevant topics.Callbacks are used to
retrieve
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 5929
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue V May 2023- Available at www.ijraset.com
In order to reduce post-harvest processing, increase agricultural sustainability, and limit environmental impact, a number of
contemporary technologies have arisen.
For identifying diseases, a variety of laboratory-based methods have been used, including polymerase chain reaction, gas
chromatography, mass spectrometry, thermography, and hyperspectral techniques.
These methods take a lot of time and are not very cost- effective. In the recent past, disease identification has been done using
server-based and mobile-based approaches. Automatic disease recognition is made possible by a number of elements, including the
high resolution camera, high performance processing, and numerous built-in accessories. The accuracy of the results has been
improved by using contemporary methods like machine learning and deep learning algorithms. Several studies in the area of
machine learning for plant disease detection and diagnosis, include conventional machine methodology including fuzzy logic, K-
means, convolutional neural networks, support vector machines (SVM), random forest, etc.
They suggested random forests, which function by building a forest of decision trees throughout the training period, as a learning
method for classification, regression, and other tasks.
Unlike decision trees, random forests handle both categorical and numeric data and overcome the drawback of overfitting their
training data set. Contributions are made in three stages for the structure mentioned above. To maximise the quality and segment
the leaf samples, HE and K-means clusteringare first used. The K-means clustering response can be used to predict whether a leaf is
infected or not at an early stage of operation. Furthermore, in order to extract the informative regions and characteristics of the
samples, we apply the DWT, PCA, and GLCM. Finally, to categorise the characteristics using machine learning methods, SVM,
KNN, and CNN are used.
A. CNN
CNN : A convolutional neural network, or CNN, is a deep learning neural network sketched for processing structured arrays of data
such as portrayals.CNN are very satisfactory at picking up on design in the input image, such as lines, gradients, circles, or even
eyes and faces. This characteristic that makes convolutional neural network so robust for computer vision
CNN can run directly on a underdone image and do not need any preprocessing. A convolutional neural network is a feed forward
neural network, seldom with up to 20. The strength of a convolutional neural network comes from a particular kind of layer called
the convolutional layer. CNN contains many convolutional layers assembled on top of each other, each one competent of
recognizing more sophisticated shapes. With three or four convolutional layers it is viable to recognize handwritten digits and with
25 layers it is possible to differentiate human faces. The agenda for this sphere is to activate machines to view the world as humans
do, perceive it in a alike fashion and even use the knowledge for a multitude of duty such as image and video recognition, image
inspectionand classification, media recreation, recommendation systems, natural language processing, etc.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 5930
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue V May 2023- Available at www.ijraset.com
such random forests, artificial neural networks, support vector machines (SVM), fuzzy logic, K-means method, and convolutional
neural networks, among others. Several users can view various diseases thanks to this same project.
Several procedures must be carried out in order to determine if the leaf is healthy or diseased. Pre-processing involves reducing all
of the photos' sizes to a single, uniform value. The next step isto extract features from a pre-processed image, which is accomplished
by HOG. HoG is an object feature descriptor detection. The appearance of the object and the outline of the image are characterised
by the gradients in this feature descriptor.
V. FUTURE SCOPE
We have utilised a variety of classification algorithms, including Linear Regression, Random Forest, Logistic Regression. In the
future, we can be able to add additional algorithm inorder for the identification of outputs, and the methods can also be compared to
determine which algorithm produces the model with the highest computed accuracy. We can also add-on a visitor enquiry module,
where users may post questions to the administrators and the administrators can respond. An Android app can be created as a user
interface for communicating with users. We intend to carefully craft deep learning network topologies, and employ adaptive
learning rates, to train on data clusters rather than the entire dataset for better performance. We can also use more sophisticated
machine learning methods, such as random forests, ensemble learning, which produces several decision/regression trees and
significantly reducesoverfitting, to obtain even more accurate models.
VI. CONCLUSION
This suggests a CNN-based method for classifying plant diseases based on the leaves of affected plants. It takes a lot of work to
create a high-efficiency neural network. Adaptive learning can be used to increase effectiveness. One of the models that can
automatically categorise photos and can also be trained to recognise various classes is Inception v3. Hence, using Inception v3 can
be essential for identifying plant diseases quickly and accurately. The training set can be selected to guarantee proper model training
for all characteristics by employing dataset classification with the contour approach as well. In comparison to classifying the dataset
at random, this offers better feature extraction. The methods outlined in the project were used to achieve the best results. So, with
losses in agriculture can be decreased by putting these methods into action and implementing them.
We found some of the most significant problems and shortfalls in works that automatically detected agricultural illnesses using
CNNs. We also offered recommendations and instructions on how to use CNNs implemented in practical applications to their
fullest capacity. Many already-published CNN-based solutions aren't now usable in the field, mostly because they don't adhere to
numerous key machine learning principles. The generalisation capacities for unknown data samples and/or imaging settings may be
weak as a result of this lack of conformance, which limits the usefulness of the trained models. Yet, the research demonstrates the
promise of deep learning methods for identifying crop illnesses. Their conclusions are undoubtedly encouraging for the creation of
new agricultural instruments that might help produce food thatis more sustainably and securely.
REFERENCES
[1] ’Detection of Plant Leaf Disease Using Image Processing’ Approach ,Sushil R. Kamlapurkar Department of Electronics & Telecommunications, Karmaveer
Kakasaheb Wagh Institute of Engineering Education & Research, Nashik, India
[2] Plant Monitoring Using Image Processing, Raspberry Pi & Iot ‘ Prof. Bhavana Patil1,Mr. Hemant Panchal2, Mr. Shubham Yadav3 , Mr. Arvind Singh4, Mr.
Dinesh Patil
[3] Leaf Disease Detection Using Image Processing ‘Nikhil Govinda Dhakad1, Umesh Shyamkant Yewale2, Tejal Yuvraj Patil3, Gayatri Avinash Deore4 1, 2,
3,4Student of BE Computer Science, L.G.N. Sapkal College of Engineering, Nashik
[4] Leaf disease detection using image processing ‘Sujatha R*, Y Sravan Kumar and Garine Uma Akhil School of Information Technology and Engineering, VIT
University, Vellore
[5] Savita N. Ghaiwat, Parul AroraDetection and classification of plant leaf diseases using image processing techniques: a review J Recent AdvEngTechnol, 2 (3)
(2014), pp. 2347- 2812ISSN
[6] Crop Disease Detection Using Deep Learning O Kulkarni - 2018 Fourth International Conference on …, 2018 - ieeexplore.ieee.org
[7] Plant disease detection using CNNs and GANs as an augmentative approach R Gandhi, S Nimbalkar, N Yelamanchili… - 2018 IEEE …, 2018 -
ieeexplore.ieee.org.
[8] Disease Detection and Classification in Agricultural Plants Using Convolutional Neural Networks—A Visual Understanding M Francis, C Deisy - 2019 6th
International Conference on …, 2019
[9] S. S. Sannakki and V. S. Rajpurohit,” Classification of Pomegranate Diseases Based on Back Propagation Neural Network,” International Research Journal of
Engineering and Technology (IRJET), Vol2 Issue: 02 | May-201g
[10] P. R. Rothe and R. V. Kshirsagar,” Cotton Leaf Disease Identification using Pattern Recognition Techniques”, International Conference on Pervasive
Computing (ICPC),2015.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 5931
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue V May 2023- Available at www.ijraset.com
[11] Godliver Owomugisha, John A. Quinn, Ernest Mwebaze and James Lwasa,” Automated Vision-Based Diagnosis of Banana Bacterial Wilt Disease and Black
Sigatoka Disease “, Preceding of the 1’st international conference on the use of 31 mobile ICT in Africa ,2014.
[12] uan Tian, Chunjiang Zhao, Shenglian Lu and Xinyu Guo,” SVM-based Multiple Classifier System for Recognition of Wheat Leaf Diseases,” Proceedings of
2010 Conference on Dependable Computing (CDC’2010), November 20-22, 2010.
[13] S. Yun, W. Xianfeng, Z. Shanwen, and Z. Chuanlei, “Pnn based crop disease recognition with leaf image features and meteorological data,” International
Journal of Agricultural and Biological Engineering, vol. 8, no. 4, p. 60, 2015.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 5932