code: def random_rotation(min, max, prng=DEFAULT_PRNG):
      """Construct a random rotation between -max and max.
      Args
          min:  a scalar for the minimum absolute angle in radians
          max:  a scalar for the maximum absolute angle in radians
          prng: the pseudo-random number generator to use.
      Returns
          a homogeneous 3 by 3 rotation matrix
      """
      return rotation(prng.uniform(min, max))
  
file_path: ImageAI/imageai_tf_deprecated/Detection/keras_retinanet/utils/transform.py
imports: import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: random_rotation(min, max, prng) and returns: rotation