Traditional wolfberry sorting primarily uses artificial method. It has time-consuming and inefficient shortcomings. An automatic wolfberry classification method based on machine vision is proposed. This paper uses digital image processing tech- nology for wolfberry image pre-processing, segmentation and extraction of characteristic parameters of color, size and shape; it uses the K-means clustering feature to get the baseline of wolfberry appropriate level; it grades wolfberry by minimum distance classifier...