code: def cvt_coordinates_to_points(
      coords: Tuple[float, float, float, float]
  ) -> np.ndarray:
      x_1, y_1, x_2, y_2 = coords
      return np.array(
          [
              [x_1, y_1],  # Top Left
              [x_2, y_1],  # Top Right
              [x_2, y_2],  # Bottom Right
              [x_1, y_2],  # Bottom Left
          ]
      )
  
file_path: layout-parser/src/layoutparser/elements/utils.py
imports: from typing import List, Union, Dict, Dict, Any, Optional, Tuple
  import numpy
  from PIL import Image
label_desc: Use image node_id 1 for calling a global function with example usage: cvt_coordinates_to_points(coords) and returns: np