code: def pts_to_bb(pts):
      min_x, min_y = np.min(pts, axis=0)
      max_x, max_y = np.max(pts, axis=0)
      return np.array([min_x, min_y, max_x, max_y])
  
file_path: face-alignment/face_alignment/detection/blazeface/detect.py
imports: import torch
  import torch.nn.functional
  import cv2
  import numpy
  from .utils import *
label_desc: Use image node_id 4 for calling a global function with example usage: pts_to_bb(pts) and returns: np