Optical vegetable sorter