code: def normal_crop(image, rect):
      imgh, imgw, c = image.shape
      label, conf, xmin, ymin, xmax, ymax = [
          int(x) for x in rect.tolist()
      ]
      org_rect = [xmin, ymin, xmax, ymax]
      if label != 0:
          return None, None, None
      xmin = max(0, xmin)
      ymin = max(0, ymin)
      xmax = min(imgw, xmax)
      ymax = min(imgh, ymax)
      return (
          image[ymin:ymax, xmin:xmax, :],
          [xmin, ymin, xmax, ymax],
          org_rect,
      )
  
imports: import time
  import os
  import ast
  import glob
  import yaml
  import copy
  import numpy
  import subprocess
  from python.keypoint_preprocess import EvalAffine, TopDownEvalAffine, expand_crop
label_desc: Use image node_id 3 for calling a global function with example usage: normal_crop(image, rect) and returns: image,  list,  org_rect, None,  None,  None