code: def build_model() -> Any:
      """
      Build a fast mtcnn face detector model
      Returns:
          model (Any)
      """
      # this is not a must dependency. do not import it in the global level.
      try:
          from facenet_pytorch import MTCNN as fast_mtcnn
      except ModuleNotFoundError as e:
          raise ImportError(
              "FastMtcnn is an optional detector, ensure the library is installed."
              "Please install using 'pip install facenet-pytorch' "
          ) from e
  
      face_detector = fast_mtcnn(
          image_size=160,
          thresholds=[0.6, 0.7, 0.7],  # MTCNN thresholds
          post_process=True,
          device="cpu",
          select_largest=False,  # return result in descending order
      )
      return face_detector
  
imports: from typing import Any, Union
  import cv2
  import numpy
  from deepface.detectors import FaceDetector
label_desc: Use image node_id 1 for calling a global function with example usage: build_model() and returns: face_detector