code: def ipython_display(image: np.ndarray):
      """
      Displays numpy image in notebook.
  
      If input image is in range 0..1, please first multiply img by 255
      Assumes image is ndarray of shape [height, width, channels] where channels can be 1, 3 or 4
      """
      import IPython
  
      image = cv2.cvtColor(image, cv2.COLOR_RGB2BGR)
      _, ret = cv2.imencode(".png", image)
      i = IPython.display.Image(data=ret)
      IPython.display.display(i)
  
imports: import copy
  import os
  import random
  import time
  from typing import List, Optional, Union
  import cv2
  import numpy
  import requests
  from PIL import Image
  from sahi.utils.file import Path
label_desc: Use image node_id 15 for calling a global function with example usage: ipython_display(image) without return types