code: def revert_scaled_boxes(size, boxes, img_height, img_width):
      """
      Revert scaled input boxes to match the original image size.
      Args:
          size (int): size of the cropped image.
          boxes (array): shape (num_boxes, 4).
          img_height (int): height of original image.
          img_width (int): width of original image.
      Returns:
          reverted_boxes (array): boxes scaled back to the original image size.
      """
      scaled_aspect = np.min([img_height, img_width])
      scale_ratio = scaled_aspect / size
      reverted_boxes = boxes * scale_ratio
      return reverted_boxes
  
imports: import math
  import numpy
  import cv2
label_desc: Use image node_id 32 for calling a global function with example usage: revert_scaled_boxes(size, boxes, img_height, img_width) and returns: reverted_boxes