code: def read_image(image_path: str):
      """
      Loads image as numpy array from given path.
      """
      # read image
      image = cv2.imread(image_path)
      image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
      # return image
      return image
  
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 4 for calling a global function with example usage: read_image(image_path) and returns: image