Keywords

1 Introduction

Horticulture is a branch of agriculture that focuses on the advanced art and science of plant gardening. Seed germination, reproductive phase, panicle starting, blooming, maturing, ripening phase, and senescence are the plant budding phases. Quality of service (QoS) is an important function of agricultural products and is evolving from the knowledge of providing healthy food. By employing the quality auditing method of nutrition foods, quality assurance is important to authorize the quality of the agricultural product that monitors the natural defects [1].

Agriculture is the backbone of Indian economy, wherein 17% of India’s GDP is based on the agriculture. Unfortunate changes in the atmospheric conditions, insufficient irrigation methods, inadequate familiarity in current expertise and pesticides make a variance in agriculture, irregular harvest of plants and harmful crops thereby threatening the global food safety. [2] Based on the details of Food and Agriculture Organization (FAO), the humanity population reaches 9.1 billion in 2050. Accordingly, agricultural production requirements to be enhanced up to 75% to convince the food needs of a progressively growing people. According to [3], the humanity population is anticipated to hit 9.1 billion in 2050. Consequently, farming manufacture needs to be enlarged up to 75% to complete the food necessities of a gradually increasing people.

Sometimes, the person is not competent to discover the plant infection exactly as shown in Fig. 1. The technology like advanced image classification and image processing to be helpful to identify the infections accurately. The premature disease recognition in plants reduces the hazard of maximum crop malfunction and enlarges the yields. Plant diseases prediction method is to formulate crops that are maximum healthful, and minimize the health-related problems for people. In this paper, a plan is prepared in a competent and accurate manner which might be used to find the infected crops and also to compute the strength of disease in the plant. The proposed work combines the CCF method to remove the noise in the image and k-means algorithm to identify the objects in the image to predict the suspicious region from the original region.

Fig. 1
figure 1

Example of plant diseases in various plants

2 Related Work

Author [4] describes smart horticulture and techniques used for prediction and detection of diseases in crops. The digital image processing and sensor networks play a vital role, in which plant leaf image is captured for under consideration of analysis[5,6,7] through modern communication technology too [6, 13,14,15,16,17,18,19,20,21]. The author describes the general flow of the image processing technique shown in Fig. 2. The first phase describes noise removal process, in which the input images are transformed to the necessary layout. The second phase is to segment the preprocessed image samples to allocate the image into dissimilar partitions. The important features are obtained from the segmented image and classified accordingly. The author finds the infectious crops by image segmentation and soft computing techniques as described in [4].

Fig. 2
figure 2

Phase of İmage Processing

Author [8] presents a method for image processing which can be used to find the plant diseases using mobile app. The scheme isolates the perceptible that at dissimilar parts of the crops. The scheme tests the grape vineyard diseases based on leaves’ image. The method extracts the injury features such as the particular gray level area, different spots, and histogram image pixels that can indicate RGB colors like red, blue, and green. A fixed threshold value is considered for an individual leaf disease. The RGB range is less than threshold, the particular pixel range is blackened else whitened. In this manner, the output image consist of a pattern of black spots, which can be predicted by evaluating the input data set and calculating whether the crops endure from the different disease or not. The technique attained an accuracy of 80%. The step by step process shown in Fig. 3.

Fig. 3
figure 3

Steps of threshold algorithm

Author [9] proposed an SVM algorithm for the identification of crop infections. The SVM is a type of nonlinear classifier that is mostly utilized in texture partition and pattern identification. The RGB feature pixel-counting method is to detect the affected areas like plant stem, leaf, and fruit diseases. The SVM nonlinear input data are matched into linearly divide data in high-dimensional space. The impure part is computed concerning percentage and the affected area is noticed based on SVM classifier. The algorithm step is shown in Fig. 4.

Fig. 4
figure 4

Steps in SVM classifier

The above-discussed schemes are undemanding and do not have any systematic processes. Though, in the recent technology where systematic plays a vital role, there is a need to concern and to maximize the accuracy. Authors [10, 11] made up with a KNN and GLCM procedure for plant disease identification. After loading the input plant leaf dataset, preprocessing of the image from data set observed by segmentation using k-means algorithm. GLCM helps to extract the feature and clustering is performed through KNN.

3 UTPDS-ML System Design

The scheme applies image processing method for crop disease identification; image segmentation and feature extraction have been observed through k-means algorithm as well as SVM-classification to categorize the crop disease as shown in Fig. 5.

Fig. 5
figure 5

Steps in proposed system

The noise removal from the input images and transforming to the necessary layout is the first step called preprocessing, and it provides an insight to the process that has been observed by the enhancement of crop leaves. The next phase handles the feature extraction followed by post-processing; false features are removed from the collection of obtained image.

4 Image Enhancement

The plant image enrichment is predictable to progress the dissimilarity between affected images and shrink noises in the leaf images. Maximum eminence leaf image is most significant for infection confirmation or classification to work accurately. In actual life, the feature of the plant image is unnatural by noise.

4.1 Binarization Process (BP)

BP is the procedure that decodes a grayscale input image into binary (1’s and 0’s) image. This improves the dissimilarity among the precious places in a given input image and formulates the potential feature extraction. Hence, BP involves evaluating grayscale values of every pixel, if values is larger than the inclusive threshold set binary value as 1, else 0.

4.2 ROI Extraction (RE)

In the image dataset, the region of interest (ROI) is the part of an input image, which is significant for the extraction of feature points. RE has two different morphological operations like OPEN (OP) and CLOSE (CL). The OP operation can enlarge images and eliminate peaks initiated by background noise. The CL operation can minimize and reduce small differences.

4.3 Post-processing (PP)

The segmented images may have numerous specious points. This might happen due to the presence of lines could not be improved even after enhancement results in negative points. The redundant points are eliminated in the Pp stage[12].

5 Classification and Clustering

Clustering with k-means scheme divides the input image into different partitions with more similarity along with the substance of awareness. Structures of the clustered image support in a peaceful identification of dynamic or diseased illustrations.

figure a
figure b

6 Results and Discussion

Figure 6 shows the feature extraction-based segmentation process using K-means algorithm. The algorithm computes the centric point through Euclidian distance and images are grouped through similarity. After clustering, the classification processed by SVM method.

Fig. 6
figure 6

Image segmentation

Clusters formation completed based on a k-means clustering. This formation is transformed into a different feature vector (FV) and transformed to the support vector machine for identification of the crop disease shown in Fig. 7.

Fig. 7
figure 7

Formation of clusters

7 Conclusion

The proposed work mainly focuses on identifying the plant disease and to construct an effective method. Based on the SVM classification, the corrective measures are reported. The proposed process entirely removes the necessity to check with a specialist to resolve whether a crop is disease affected or not. The humanity is changing near an age based on knowledge. Farmers frequently look on the grasses to identify diseases, even using exclusive fertilizers. The proposed machine learning methods demonstrate the crop monitoring database and support botanists in disease diagnosis with a large deal of precision.