phase were again given to the proposed virtual grader
one by one (choosing k = 9 and illumination intensity
310 lux), however, operated in an automatic mode,
which classifies and grade them according to their size
content. In the classifying phase, the size classifier
calculates the size features of the sample that need to
be identified and classifies it among trained samples
using K-NN Algorithm. The classification process was
responsible to classify the input or user selected fruit by
using K-NN algorithm. This measure the distance
between features values of the stored fruit under test.
Afterward the K-NN finds out among the stored fruit the
one having shortest distance with the input and
identifies and assigns the class to the input fruit.