- Open Access
- Authors : Ashwini C, Anusha B, Divyashree B R, Impana V, Nisarga S P
- Paper ID : IJERTCONV8IS13004
- Volume & Issue : NCCDS – 2020 (Volume 8 – Issue 13)
- Published (First Online): 07-08-2020
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Plant Disease Detection using Image Processing
Ashwini C1, Anusha B2, Divyashree B R3, Impana V4, Nisarga S P5 Assistant Professor1, BE Student2345
Computer Science and Engineering Global Academy of Technology Bangalore, India
Abstract – The existing system the farmers are using for the detection of diseases in the plants is that- they could be identified through the naked eye and there knowledge about plant disease. For doing so, on large number of plants is time consuming, difficult and accuracy is not good. Consulting experts is of great cost. In such kind of conditions to improve the accuracy rate and make it more beneficial suggested techniques are implemented where devices are used for the automatic detection of the diseases that makes the process cheaper and easier. High degree of the complexity is incorporated by observing the symptoms on the plant leave optically where the plant disease could be easily diagnosed.
Now days most of the agro help centers and many farmers use different types of technology to improve production in agriculture. The most important source of energy is plants. Plants are often prone to diseases which may cause social and economic losses. Many diseases are initially spotted on the leaves of the plants. It could lead to more harm if the disease is not identified in the first stage. By identifying the color features of the leaves image processing helps in the detection of the diseases and also provides prevention to the particular diseases.At the very first stage the image is segmented by taking the picture of the plant in the RGB form and later the green pixel is detached. Texture statistics is an arrangement of intensities in a region that is used for the extraction by the segments is finally completed and the disease prevention is provided according to the analysis.
KeywordsImage processing; Pre-processing; segmentation; Extraction; SVM Classifier; Spots; Peach and Corn.
Agriculture has become the key to rise in human civilization it is the art and science of cultivating live stocks and plants. Many of the farmers are not able to identify the diseases in the plants which may lead to loss in agriculture products. Agro scientist can provide a better solution by using the images and videos of crops that provides a better view. There are many diseases that affects the plants, where the symptoms are not recognizable at the very first stage which may lead to social and economic loses .To make things easier image processing is used, that helps to overcome these kind of situations, by extracting the features of the leaves where the diseases can be easily detected. Image processing involves steps like image acquisition, pre- processing, segmentation, feature extraction and classification
Based on the multiple linear regressions a new recognition system of image is proposed. Image segmentation and recognition system consists of the number of innovations  .Multiple linear regression and feature extraction are used while creating the recognition system. Evaluation of results has proved that the system has high precision, reliability and image-recognition ability. The results indicate that the approach is beneficial which supports in the detection of the diseases with very less efforts .
- Image Processing
In recent technology researchers are frequently trying to increase the collectively of plants . They have been successful by growing the higher breed seeds and plants. But there are problems that still exist which becomes a main concern while cultivating crop and those are crop diseases and the pesticides problem. Due to such kind of problems, the yield of the crop decreases and hence the country suffers the lack of cultivation of plant . Most of the times diseases needs to be prevented at the very early stage, but if the prevention is not taken in the early stage it may lead to severe damage To avoid such loses diseases needs to be detected at the early stage .Crop like Corn is being grown in long duration that is 10 to 18 months, that may lead to attack of many diseases . Fungal diseases are the most predominant disease in the corn that appears as small spots on the leaves.
The leaves become totally damaged and completely covered with spots in the case of the severe infections. Frequent use of the pesticides increases level of the toxins in the products which leads to many health diseases and also plays a main role in the contamination of the ground water. In the recent days pesticides price has been increasing day by day. Thus the modern technology helps to enhance the productivity of the crops with less efforts and time consumption.
Three types of diseases that have been taken as model for detection are:
- Corn Grey Leaf Spot
- Corn Common Rust
- Peach Bacterial Spot
- Algorithms Used
Algorithms used in feature extraction are:
- Image Acquisition
- Image Sharpening
- Edge Detection
- Greyscale Image
- Adaptive Histogram Equalization
- Shape, Color and Texture Features
- Support Vector Machine(SVM) Let us discuss SVMin detail:
Multi Class SVM:
Fig.2, Nonlinear SVM
The design of SVM is plain: Here in this algorithm, there is a creation of line or a hyperplane which is used to separate data to classes. Classification task is an approach which is usually involved in setting data apart into testing and training sets. In a training data set each instance contains single target value” that is the class labels and many attributes” (i.e. the features of observed variables). This approach creates a need of finding a separate hyperplane that is used to separate the points in to the two classes. One is the negatives (class – 1) and the other is the positives (class+1).
As stated by the SVM algorithm, it is required to find out the points which are near to the line from both the classes. These points are known as support vectors. It is necessary to compute the distance between the support vectors and line. This distance is said to be the margin. The main aim here is to maximize the margin. Therefore the hyperplane which has the maximum margin is said to be the optimal hyperplane. Margins for SVM trained with samples from two classes along with the Maximum margin hyper plane as shown in Fig.1.
Fig.1, Linear SVM which shows selection of hyperplane
Non Linear SVM:
The following algorithm is conventionally similar, excluded one point which says that all the dot products will be replaced by a nonlinear kernel function. It permits the algorithm to fit into the maximum-margin hyperplane in a feature space that is transformed. The transformation may actually be t high dimensional and nonlinear although the classifier is a hyper plane in the transformed feature space, it may be nonlinear in the original input space. The comparison is shown
The aim of Multiclass SVM is to use support vector machines for assigning labels to instances , here the labels will be taken from a definable set of diverse elements. Support vector machines(SVM) are supervised learning models which are linked with machine learning.
Learning algorithms are used for analyzing data and to recognize patterns, they are used for categorizing and also for multivariate analysis.
Database holds a huge quantity of sample image files which are accommodating the disease images and non- disease images. The features will be withrawal as per the opinion of Image feature extraction techniques, and then that particular image file will be saved in the database .
II . LITERATURE SURVEY
Table I. Analysis of papers
- EXISTING SYSTEM
Even though there are many systems that have been developed till now using different machine learning algorithms like Random Forest, Naive bayes, Artificial Neural network the accuracy of those models are low and the works using those classification techniques is done with the mind set of detecting disease for only one species of plants. These works have been used in Karnataka by few farmers. Farmers still use naked eyes to detect diseases which is serious problem as a farmer is not aware of what type of disease the plant is infected. Farmers are still facing the issues and the techniques they are using to detect the disease are time consuming.
The suggested work focus more on recognition of disease on the corn and peach leaf using Matlab.
The images are contemplated for additional feature extraction, which will be done by using one of the exceeding algorithms. There are numerous characteristics of images which are yet to be drawn out, this initiated method is going to examine a little bit of them. The following Fig.3 shows the system architecture and the authentic progress of the concept. The principal focus of this scheme is to provide assistance to the farmers, facing the loss due to insufficient understanding of numerous diseases. The notion will be more user- friendly.
Fig.3, System architecture The propound method includes the preceding :
- Image Acquisition
- Image Preprocessing
- Feature Extraction
In this step Images of plant leaf to be tested for disease is fed to our software. In this step the images as shown in Fig.4, are converted to grayscale images as it becomes easier to perform classification process on black and white image which is2-Dimage. In this step the system will access the snapshot of the plant and load the image into the system.
Steps that follow the image acquisition are. Input: image (JPG format)
Finer standard resolutions will be utilized for image- analysis and JPEG is the format in which these images are usually saved.
Fig.4, Conversion from RGB to Gray
- Image Preprocessing:
A simple sharpening operator is the unsharp filter which has obtained its name from the reality that it actually strengthens edges (and additional peak frequency parts in an image) through a procedure in which the original image will be let free of unsharp, or smoothed, version of an image by eliminatingthem.
The procedure of dividing a digital image into various fragments (set of pixels, are additionally called as super pixels) is known as Image Segmentation. The outcome of image segmentation is a set of fragments that jointly shield the entire image or a set of outline obtained from the image. Every pixel in a zone is close regarding to some distinctive or determined attributes like color, shape and texture.
- Feature Extraction:
Shape feature extraction: Solidity, extent, minor axis length and eccentricity are the shape features used in this paper. These features are taken in order to extract the diseased region in the leaf considered.
Texture feature extraction: Contrast, correlation and energy are the texture features used in the paper. These features are taken in order to extract the diseased region in the leaf considered. Finally the variation of pixels and its adjacent pixels will be calculated.
Color feature extraction: In concern with translation, scaling and rotation the color feature extraction has a unique way of showing image representation. The features used for color are mean, skewness, and kurtosis. Here, we transform RGB to LAB.
In classification involves in separating data into two genre training sets and testing sets. The training set contains one target value and several attributes for each instance or data. Here the major part is to locate the separating hyperplane which will divide these points into two different classes as the positives classes as +1 and the negative classes as -1. The final output is shown in the Fig.5.
Fig.5, Final Output
This project proposed to point out disease in the leaf with a union of shape, texture and color feature withdrawal. Initially the farmers sends a digital image of the diseased leaf of a plant and these images are read in MATLAB and processed automatically based on SVM and the results were shown. The output of this project is to get hold of relevant results that can spot out diseased leaf of certain commonly caused disease to plants. Firstly, healthyand diseased images are composed and pre-processed. Later, attributes like shape, color and texture are taken out from these images. Finally, these images are sorted by means of supportvector machine (SVM).
machine classifier. Based on the classified type of disease a text message was sent to the user in the project.
In this project, we demonstrated only few types of diseases which were commonly caused and it can be extended for more disease in future. Here only text message was sent to the farmer but in future robot can be sent to spray the pesticides to the plants automatically without human interaction.
I express my sincere gratitude towards my guide Prof Mrs. Ashwini C for her valuable guidance. I also thank Dr.Guruprasad N [HOD] for their encouragement and support. Their insight and comments will definitely lea d to a better presentation for the ideas expressed in this paper.
- Konstantinos P. Ferentinos: Deep Learning models for plant disease detection and Diagnosis. Computers and electronics in ariculture(2018)
- Taohidul Islam, Manish Sah, Sudipto Baral, Rudra Roy Choudhury A faster technique on rice disease detection using image processing of affected area in agro- field,2018 Proceedings of the 2nd International Conference on Inventive Communication and Computational Technologies.
- Varsha P. Gaikwad, Dr. Vijaya Musande Wheat Disease Detection Using Image Processing IEEE Conference 2017.K. Elissa, Title of paper ifknown,unpublished.
- Hiteshwari Sabrol , Satish Kumar Recognition of Tomato Late Blight by using DWT and Component Analysis IEEE Conference2017.
- Trimi Neha Tete, Sushma Kamlu, Detection of Plant Disease Using Threshold, K-Mean Cluster and ANN Algorithm, 2014 World Congress on Computing and CommunicationTechnologies.
- Sachin D.Khirade,A.B.Patil Plant Disease Detection using image processing. International Conference on Computing Communication Control and Automation 2017 2nd International Conference for Convergence in Technology.
- Konstantinos P. Ferentinos Deep learning models for plant disease detection and diagnosis.
- Ginardi, R.V Hari, RiyanartoSarno and Tri AdhiWijaya Sugarcane Leaf Color Classification in Sa*b* Color Element Composition. 2013 International Conference on Computer,Control, Informatics and its application.