code: def crop_boxes(boxes, x_offset, y_offset):
      """
      Crop the boxes given the offsets.
      Args:
          boxes (array): boxes to crop.
          x_offset (int): offset on x.
          y_offset (int): offset on y.
      """
      boxes[:, [0, 2]] = boxes[:, [0, 2]] - x_offset
      boxes[:, [1, 3]] = boxes[:, [1, 3]] - y_offset
      return boxes
  
imports: import math
  import numpy
  import cv2
label_desc: Use image node_id 15 for calling a global function with example usage: crop_boxes(boxes, x_offset, y_offset) and returns: boxes