code: def lane_to_linestrings(lanes):
      lines = []
      for lane in lanes:
          lines.append(LineString(lane))
  
      return lines
  
file_path: PaddleDetection/ppdet/data/culane_utils.py
imports: import math
  import numpy
  from imgaug.augmentables.lines import LineString
  from scipy.interpolate import InterpolatedUnivariateSpline
label_desc: Use image node_id 1 for calling a global function with example usage: lane_to_linestrings(lanes) and returns: lines