code: def crop(
      img: Image.Image,
      top: int,
      left: int,
      height: int,
      width: int,
  ) -> Image.Image:
      if not _is_pil_image(img):
          raise TypeError(f"img should be PIL Image. Got {type(img)}")
  
      return img.crop((left, top, left + width, top + height))
  
imports: import numbers
  from typing import Any, Dict, List, Literal, Optional, Sequence, Tuple, Union
  import numpy
  import torch
  from PIL import Image, ImageEnhance, ImageOps
label_desc: Use image node_id 13 for calling a global function with example usage: crop(img, top, left, height, width) and returns: img