Code for getting images containing only the face parts.
Fixed disabling face detection for videos.