This paper reports on the development of an automatic
adjustable algorithm for segmentation of color images, using linear support vector machine (SVM) and
Otsu’s thresholding method, for apple sorting and grading. The method automatically adjusts the classification
hyperplane calculated by using linear SVM and requires minimum training and time.