Drafted new pupil detection