Blink detector using Haar cascade detection and binary thresholding