code: def get_image_draw(image):
      image_pil = Image.fromarray(np.uint8(np.squeeze(image))).convert(
          "RGB"
      )
      draw = ImageDraw.Draw(image_pil, "RGBA")
      return image_pil, draw
  
imports: import io
  import numpy
  import os
  import logging
  import PIL.Image
  import PIL.ImageDraw
  import PIL.ImageFont
  import tensorflow
  from .bbox_overlap import bbox_overlap
  from .bbox_transform import decode
  from base64 import b64encode
  from sys import stdout
label_desc: Use image node_id 7 for calling a global function with example usage: get_image_draw(image) and returns: image_pil,  draw