code: def build_model() -> Any:
      """
      Build a mediapipe face detector model
      Returns:
          model (Any)
      """
      # this is not a must dependency. do not import it in the global level.
      try:
          import mediapipe as mp
      except ModuleNotFoundError as e:
          raise ImportError(
              "MediaPipe is an optional detector, ensure the library is installed."
              "Please install using 'pip install mediapipe' "
          ) from e
  
      mp_face_detection = mp.solutions.face_detection
      face_detection = mp_face_detection.FaceDetection(
          min_detection_confidence=0.7
      )
      return face_detection
  
imports: from typing import Any
  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_detection