code: def people_detection_executor(loaded_image, predictor):
      # Returns a detectron2.structures.Boxes object
      # that stores a list of boxes as a Nx4 torch.Tensor.
      outputs = predictor(loaded_image)
  
      people_bbox = outputs["instances"][
          outputs["instances"].pred_classes == 0
      ].pred_boxes
  
      return people_bbox
  
imports: from collections import OrderedDict
  from typing import Callable
  import cv2
  import torch
  from hook import HookBase
label_desc: Use image node_id 4 for calling a global function with example usage: people_detection_executor(loaded_image, predictor) and returns: people_bbox