code: def get_dir(src_point, rot_rad):
      sn, cs = np.sin(rot_rad), np.cos(rot_rad)
  
      src_result = [0, 0]
      src_result[0] = src_point[0] * cs - src_point[1] * sn
      src_result[1] = src_point[0] * sn + src_point[1] * cs
  
      return src_result
  
imports: from __future__ import absolute_import
  from __future__ import division
  import math
  import random
  import numpy
  import mxnet
  from mxnet import nd, image
  from mxnet.gluon.data.vision import transforms
  from ...utils.filesystem import try_import_cv2
label_desc: Use image node_id 7 for calling a global function with example usage: get_dir(src_point, rot_rad) and returns: src_result