code: def project_coords(coords, from_shape, to_shape):
      """Project coordinates from one image shape to another.
  
      This performs a relative projection, e.g. a point at ``60%`` of the old
      image width will be at ``60%`` of the new image width after projection.
  
      Parameters
      ----------
      coords : ndarray or list of tuple of number
          Coordinates to project.
          Either an ``(N,2)`` numpy array or a ``list`` containing ``(x,y)``
          coordinate ``tuple`` s.
  
      from_shape : tuple of int or ndarray
          Old image shape.
  
      to_shape : tuple of int or ndarray
          New image shape.
  
      Returns
      -------
      ndarray
          Projected coordinates as ``(N,2)`` ``float32`` numpy array.
  
      """
      if ia.is_np_array(coords):
          coords = np.copy(coords)
  
      return project_coords_(coords, from_shape, to_shape)
  
file_path: imgaug/imgaug/augmentables/utils.py
imports: from __future__ import print_function, division, absolute_import
  import copy
  import numpy
  import six.moves
  import imgaug
label_desc: Use image node_id 7 for calling a global function with example usage: project_coords(coords, from_shape, to_shape) and returns: project_coords_