class_docstr: Implements a face detector to detect profile pictures on resumes, IDS, driving licenses, passports...
  Based on open CV CascadeClassifier (haarcascades)
  
  Args:
  ----
      n_faces: maximal number of faces to detect on a single image, default = 1
code: def __init__(
      self,
      n_faces: int = 1,
  ) -> None:
      self.n_faces = n_faces
      # Instantiate classifier
      self.detector = cv2.CascadeClassifier(
          cv2.data.haarcascades + "haarcascade_frontalface_default.xml"  # type: ignore[attr-defined]
      )
  
file_path: doctr/doctr/models/artefacts/face.py
imports: from typing import List, Tuple
  import cv2
  import numpy
  from doctr.utils.repr import NestedObject
label_desc: Use image node_id 1 to create a new FaceDetector object from inherited base classes: NestedObject with example: obj = FaceDetector(n_faces)