Sensors for the detection of transparent objects