Added check if face detection is supported.