Calibration and sorting of vegetables and fruits