add face detection in face recognizer