With the rapid development of science and technology,machine vision technology is increasingly widely used in agricultural production,especially in the automatic detection of grain appearance quality.Traditional manual detection methods are subjective,low efficiency and high cost,and can not meet the needs of large-scale and efficient detection.Therefore,the automatic detection technology of grain appearance quality based on machine vision came into being,aiming to achieve efficient,accurate and non-destructive testing of grain appearance quality,so as to ensure food quality,improve agricultural production efficiency and promote sustainable development of agriculture,which has become a hot topic in relevant industries.