Research on the Size Classification of Round Solanum Fruit Based on Machine Vision
In the production and sale of eggplant,it is very important to do a good job in the classification of egg-plant,so the size of round eggplant was studied in this paper.The OpenCV and Python development environment was applied to process the acquired nightshade image,the CCD camera was used to obtain the nightshade image,the HSV model was converted to the nightshade image,and weighted processing,noise reduction processing,binary im-age segmentation,morphology processing and edge detection were carried out.The roundiness and fruit diameter length of the obtained edge detection image were calculated.According to the size of the fruit diameter of the round eggplant grades are graded.The research shows that the detection method based on machine vision technology can distinguish the size of round nightshade well,and can effectively meet the grading requirements of round nightshade.