If the self checkout could recognize vegetables I would be OK with it. But in general I don't see an advantage other than the company saving salaries for cashiers.
It would make more sense if everything had an RFID and you could just load your shopping cart and the checkout would scan everything at once without having to put things on a scanner. This would be really useful. You could put your items straight into a shopping bag while shopping.