code: def rescale_box(box, scales, size):
      box["xmax"] = int(box["xmax"] * scales[1])
      box["xmin"] = int(box["xmin"] * scales[1])
      box["ymax"] = int(box["ymax"] * scales[0])
      box["ymin"] = int(box["ymin"] * scales[0])
  
      return box
  
imports: import pickle
  import glob
  import os
  import json
  import spacenet_utils
  from PIL import Image, ImageDraw
  from collections import OrderedDict
  import ingest_utils
  import numpy
  from tqdm import tqdm
  import warnings
  from configargparse import ArgumentParser
  from neon.util.persist import get_data_cache_or_nothing
label_desc: Use image node_id 5 for calling a global function with example usage: rescale_box(box, scales, size) and returns: box