code: def get_lane_coords(self, seg_pred):
      lane_coords_list = []
      for batch in range(len(seg_pred)):
          seg = seg_pred[batch]
          lane_coords = self.heatmap2coords(seg)
          for i in range(len(lane_coords)):
              lane_coords[i] = sorted(
                  lane_coords[i], key=lambda pair: pair[1]
              )
          lane_coords_list.append(lane_coords)
      return lane_coords_list
  
file_path: PaddleSeg/contrib/LaneSeg/third_party/get_lane_coords.py
imports: import cv2
  import numpy
label_desc: Use image node_id 2 for calling the LaneProcessor obj's underlying member method code with example usage: obj.get_lane_coords(seg_pred) and returns: lane_coords_list