Excellent. There are are some machine learning systems used in machines for separating rice, etc., but those are expensive and are for the larger scale businesses.
I went to an edamame (type of bean that is a light snack) sorting and packing plant last month. They are smaller and the conveyor has lots of them coming at once, but I should try to do something with them.