code: def get_angle(self, array):
      import math
  
      x1, y1, x2, y2 = array
      a_x = x2 - x1
      a_y = y2 - y1
      angle1 = math.atan2(a_y, a_x)
      angle1 = int(angle1 * 180 / math.pi)
      if angle1 > 90:
          angle1 = 180 - angle1
      return angle1
  
imports: import argparse
  import codecs
  import os
  import yaml
  import numpy
  import cv2
  from sklearn.cluster import DBSCAN
  from pptracking.python.det_infer import load_predictor
label_desc: Use image node_id 7 for calling the LaneSegPredictor obj's underlying member method code with example usage: obj.get_angle(array) and returns: angle1