code: def imgcat_pil(image_pil):
      image_bytes = io.BytesIO()
      image_pil.save(image_bytes, format="PNG")
      imgcat(image_bytes.getvalue())
  
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 6 for calling a global function with example usage: imgcat_pil(image_pil) without return types