Range Sensor for Dirty garbage bins

No moving parts? I think you're going to have to find a sensor that penetrates the thin layer of garbage but detect the actual garbage. IR might get through.