Drafted a version of pupil detection copied from the web. Written for video so it runs but does nothing