code: def draw_lane(lane, img=None, img_shape=None, width=30):
      if img is None:
          img = np.zeros(img_shape, dtype=np.uint8)
      lane = lane.astype(np.int32)
      for p1, p2 in zip(lane[:-1], lane[1:]):
          cv2.line(
              img,
              tuple(p1),
              tuple(p2),
              color=(255, 255, 255),
              thickness=width,
          )
      return img
  
imports: import os
  import cv2
  import numpy
  import os.path
  from functools import partial
  from .metrics import Metric
  from scipy.interpolate import splprep, splev
  from scipy.optimize import linear_sum_assignment
  from shapely.geometry import LineString, Polygon
  from ppdet.utils.logger import setup_logger
label_desc: Use image node_id 1 for calling a global function with example usage: draw_lane(lane, img, img_shape, width) and returns: img