code: def random_crop(src, size):
      """Randomly crop src with size. Upsample result if src is smaller than size"""
      h, w, _ = src.shape
      new_w, new_h = scale_down((w, h), size)
  
      x0 = random.randint(0, w - new_w)
      y0 = random.randint(0, h - new_h)
  
      out = fixed_crop(src, x0, y0, new_w, new_h, size)
      return out, (x0, y0, new_w, new_h)
  
file_path: mxnet/plugin/opencv/opencv.py
imports: import random
  import ctypes
  import cv2
  import mxnet
  from mxnet.base import _LIB
  from mxnet.base import mx_uint, NDArrayHandle, check_call
label_desc: Use image node_id 6 for calling a global function with example usage: random_crop(src, size) and returns: out,  x0,  y0,  new_w,  new_h