Use of optical reflectance sensors