Text this: Intelligent segmentation of fruit images using an integrated thresholding and adaptive K-means method (TSNKM)