code: def get_distance_point2line(self, point, line):
      line_point1, line_point2 = np.array(line[0:2]), np.array(line[2:])
      vec1 = line_point1 - point
      vec2 = line_point2 - point
      distance = np.abs(np.cross(vec1, vec2)) / np.linalg.norm(
          line_point1 - line_point2
      )
  
      return distance
  
file_path: PaddleDetection/deploy/pipeline/ppvehicle/vehicle_retrograde.py
imports: import numpy
  import math
label_desc: Use image node_id 5 for calling the VehicleRetrogradeRecognizer obj's underlying member method code with example usage: obj.get_distance_point2line(point, line) and returns: distance