turn image grayscale if face is not detected