code: def get_cutout(points, image):
      """Returns a rectangular cut-out from a set of points on an image"""
      max_x = int(max(points[:, 0]))
      min_x = int(min(points[:, 0]))
      max_y = int(max(points[:, 1]))
      min_y = int(min(points[:, 1]))
      return image[min_y:max_y, min_x:max_x]
  
file_path: norfair/norfair/utils.py
imports: import os
  from functools import lru_cache
  from logging import warn
  from typing import Sequence, Tuple
  import numpy
  from rich import print
  from rich.console import Console
  from rich.table import Table
label_desc: Use image node_id 5 for calling a global function with example usage: get_cutout(points, image) and returns: image