Hello, even with transparent plastic bottles there should be enough light reflected to be detected by a ToF sensor like VL53L0X. It's more reliable than most distance sensors that measure the quantity of light that is reflected. It also has the advantage of a much better range compared to other optical distance sensors. You might even manage to use only this sensor if you put it on top to measure the height of objects and you have enough size differences between the types of containers.