code: def read_img_cv2(filepath, imsize):
      img = cv2.imread(filepath)
      img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
      img = cv2.resize(img, (imsize, imsize))
      return img
  
imports: from PIL import Image
  import cv2
  import argparse
  import os
  import pkg_resources
  import sys
  import math
  import numpy
  from augbench.constants import DEFAULT_BENCHMARKING_LIBRARIES
  from pytablewriter import MarkdownTableWriter
  from pytablewriter.style import Style
label_desc: Use image node_id 2 for calling a global function with example usage: read_img_cv2(filepath, imsize) and returns: img