code: def shrink_box(box, size, scale=0.8):
      # center coordinates
      xc = float(box["xmax"] - box["xmin"]) / 2 + box["xmin"]
      yc = float(box["ymax"] - box["ymin"]) / 2 + box["ymin"]
  
      box["xmax"] = int(xc + scale * (box["xmax"] - xc))
      box["xmin"] = int(xc + scale * (box["xmin"] - xc))
      box["ymax"] = int(yc + scale * (box["ymax"] - yc))
      box["ymin"] = int(yc + scale * (box["ymin"] - yc))
  
      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 4 for calling a global function with example usage: shrink_box(box, size, scale) and returns: box