code: def convert(size, box):
      dw = 1.0 / (size[0])
      dh = 1.0 / (size[1])
      x = (box[0] + box[1]) / 2.0 - 1
      y = (box[2] + box[3]) / 2.0 - 1
      w = box[1] - box[0]
      h = box[3] - box[2]
      x = x * dw
      w = w * dw
      y = y * dh
      h = h * dh
      return (x, y, w, h)
  
file_path: ImageAI/scripts/pascal_voc_to_yolo.py
imports: import glob
  import os
  import argparse
  import pickle
  import xml.etree.ElementTree
  from os import listdir, getcwd
  from os.path import join
  import shutil
label_desc: Use image node_id 1 for calling a global function with example usage: convert(size, box) and returns: x,  y,  w,  h