If we lived in a high trust society, you could just trust people to scan their own items and walk out.
In a world where anonymity is a thing there will always be at least one inherent shithead who ruins it for everyone. Even if you do have a community where it's true, that can change anytime someone has a kid or someone moves in.