code: def get_center_crop(height, width, ratio):
      s = min(height, width)
      c = int(ratio * s)
      delta_h = (height - c) // 2
      delta_w = (width - c) // 2
  
      return delta_h, delta_w, c, c
  
imports: import ctypes
  from numba import njit
  import numpy
  from ...libffcv import ctypes_resize
label_desc: Use image node_id 3 for calling a global function with example usage: get_center_crop(height, width, ratio) and returns: delta_h,  delta_w,  c,  c