code: def get_size(box):
      """
      Args:
          box: 8x3
      Returns:
          size: [dx, dy, dz]
      """
      distance = scipy.spatial.distance.cdist(box[0:1, :], box[1:5, :])
      l = distance[0, 2]
      w = distance[0, 0]
      h = distance[0, 3]
      return [l, w, h]
  
file_path: ARKitScenes/threedod/benchmark_scripts/utils/box_utils.py
imports: import numpy
  import scipy.spatial
  from .rotation import rotate_points_along_z
label_desc: Use image node_id 1 for calling a global function with example usage: get_size(box) and returns: list