glint detection