C.R.O.P-D

CROP-D|Working
Working

s

This ML model consists of a stacking classifier(ensemble learning method) that uses the features obtained after feature extractionfrom the image and feature selection to select the most relevant features. The model uses the following classifiers: Random Forest Classifier, K Nearest Neighbours, and Classifier Tree.

The achieved accuracy on the test dataset was 95.4%

The prediction workflow is like this:

1. The user uploads an image of a leaf belonging to the diseased plant

2. The uploaded image is first temporarily stored in a folder named "uploads"

3. Feature Extraction happens on the uploaded image

Feature Description Link
Hu MomementWeighted average of image pixel intensitiesHu Moment
Haralick TextureHaralick's paper describes applying the 14 equations above to four angular gray-Level co-occurrence spatial dependency matrices, which results in four values from each equation above. Haralick computed the mean and range for each of the 14 sets of four values resulting in 28 features.HT
Color HistogramColor histogram is a representation of the distribution of colors in an imageCH

4. Then Feature selection happens on the extracted features. We reduce the input variable to our model by using only relevant data and getting rid of noise.

5. Then we cross validate the selected features to evaluate various models. We then use the ensemble technique to combine the predictions of the models to get the final prediction.

6. We then produce the final prediction and display it to the user.

Given below are relvant figures of the training process:

cmmodelsoutput1 models output1

Learn More...