The detection of tomato fruit maturity is a new direction in intelligent agriculture research.Currently,the main research methods in this field are chemical,biological,or relatively simple color recognition methods,which have problems of low efficiency and high cost.Based on this,this paper proposes a tomato maturity detection based on machine vision,which mainly obtains image data of tomato fruit through an OpenMV camera.The device considers all data comprehensively,compares the data between the tested tomatoes and mature tomatoes,conducts maturity grading management,and imports them into a computer database for storage.The device can be applied to factory assembly line scenarios,and can calculate the overall maturity of each batch of tomatoes,with high application value.