An AI Based System For Smart Detection of Leaf Diseases Using Machine Learning Techniques
An AI Based System For Smart Detection of Leaf Diseases Using Machine Learning Techniques
Authorized licensed use limited to: VIT University- Chennai Campus. Downloaded on November 07,2024 at 07:19:37 UTC from IEEE Xplore. Restrictions apply.
1507
of the soil, deviations from optimum conditions can be
GroupTrain={'1' '1' '1' '1' '1' '1' '2' '2' '2' '2' '3' '3' '3' '4' '4' '4' detected, indicating the presence of dangerous diseases.
'4' '4' '4' '4' '4' '4' '4' '4' '4' '4' '4' '4' '4' '4' '4' '4' '4' '5' '5' '5' '5' '5'
'5' '6' '6' '6' '6' '6' '6' '7' '7' '7' '7' '7'}
TestSet=QF;
c = cell(1,7);
Y=GroupTrain;
classes = unique(Y);
rng(1);
for j=1:numel(classes)
indx = strcmp(Y',classes(j));
svmStruct=svmtrain(DF,indx,'Kernel_func
tion','linear','BoxConstraint',1);
end
for j=1:numel(classes)
score= svmclassify(svmStruct,xGrid);
zscore(:,j) = score(:,1);
end
C. Analysis of Diseases on Various Leaves
VII. OUTPUT
The system provides users with fungicides and insecticides
A. Image Classification with Pesticide
to prevent diseases. Using threshold-based image
segmentation technology, the input image is easily
Classification of images is performed on stored
segmented by setting the threshold and then SVM
training data. It is based on the multi-class SVM classifier in
classification is used to classify the disease on specific
MAT LAB. It is a SVM application designed to solve
leaves. Once the objects are segmented, the image can be
classification problems over two groups.
easily classified using an SVM classifier. A foliar disease
report is then generated with soil, temperature, and moisture
results, as well as the name of the leaf disease and the
pesticide name. The report will be displayed on the Farmers
Mobile app.