【】 The classification of traditional Chinese medicines and Chinese herbal medicine is the basis for measuring the quality of traditional Chinese medicines, which directly affects the safety and efficacy of clinical medicines, and is also an important part of the quality standard system of traditional Chinese medicines. In order to establish the classification system of Lycii Fructus commodity specifications, this study used the shape characteristics of Lycii Fructus as the evaluation index, and used Image-proplus and image processing technology to analyze the shape indexes of 90 samples from Ningxia, Qinghai and Xinjiang. Conduct a comprehensive evaluation. The results showed that there were some differences in the appearance, weight, area and color of the medicinal materials in the three producing areas. The results were clustered by SPSS24.0 and other statistical software. The width to length ratio, RGB value of Lycii Fructus. There is a significant difference between the area value and the weight value. Through research, it is found that the width to length ratio and RGB value can be used as the basis for the different origin specifications of the Wolfberry. The area value, weight value and uniformity can be accurately and objectively used to establish the commodity grade standard of Lycii Fructus. This research adheres to the whole process quality control concept of Chinese medicine, provides data support for the construction of the whole process quality control system of Chinese medicine, and provides new ideas and references for the classification of Chinese medicine and decoction pieces.