| Cherry tomato because of its high nutritional value,sweet taste,by the people like,with great market potential.Completely rely on manual classification,not only labor intensity,low production efficiency,and easy to cause fruit loss,affect the appearance and storage.Therefore,the need to study the automatic grading system to reduce labor costs,increase the efficiency of sorting.In order to ensure the quality of sorting,this article to the saint fruit color,size,degree of elliptical fit as a standard for its classification,to ensure accurate classification,fast,lossless.Specifically completed the following work:1.Based on the study of machine vision,the whole mechanical design scheme,hardware selection scheme and software design scheme for the grading machine of santa fruit are determined.2.Build a complete structure of the Saints grading machine,including the sample transfer section and control the observation box part.Completed the design of all parts of the equipment,according to the actual situation design baffle structure and transmission structure to protect the holy women grading process safe and reliable.3.In the image preprocessing stage,HSV color model is adopted to enhance the anti-jamming ability and the recognition efficiency,making it easier to maintain and develop.Because the color and background color of the saint fruit itself is different,this paper will take the threshold method to segment the color value of the image,so as to achieve the purpose of removing the background,according to the final effect and the time spent analysis,the use of morphological algorithm Divine the image of the Saints fruit.4.According to the collected images of the image of the Saints,use the circumference method to determine the size of the class.According to the defects and deformity of the image,the threshold method and the ellipse fitting algorithm are used to identify the unqualified fruit,so as to complete the sorting process of the female fruit.The results of the final experiment show that the algorithm used in this paper has a high accuracy and sorting speed,which has high practical value and research meaning. |