code: def __init__(self, points=None, invalid_value=-2.0, metadata=None):
      super(Lane, self).__init__()
      self.curr_iter = 0
      self.points = points
      self.invalid_value = invalid_value
      self.function = InterpolatedUnivariateSpline(
          points[:, 1], points[:, 0], k=min(3, len(points) - 1)
      )
      self.min_y = points[:, 1].min() - 0.01
      self.max_y = points[:, 1].max() + 0.01
      self.metadata = metadata or {}
  
file_path: PaddleDetection/ppdet/modeling/lane_utils.py
imports: import os
  import cv2
  import numpy
  from scipy.interpolate import InterpolatedUnivariateSpline
label_desc: Use image node_id 1 to create a new Lane object  with example: obj = Lane(points, invalid_value, metadata)