code: def resample_sidelines(self, sideline1, sideline2, resample_step):
      assert sideline1.ndim == sideline2.ndim == 2
      assert sideline1.shape[1] == sideline2.shape[1] == 2
      assert sideline1.shape[0] >= 2
      assert sideline2.shape[0] >= 2
      assert isinstance(resample_step, float)
  
      _, length1 = self.cal_curve_length(sideline1)
      _, length2 = self.cal_curve_length(sideline2)
  
      avg_length = (length1 + length2) / 2
      resample_point_num = max(
          int(float(avg_length) / resample_step) + 1, 3
      )
  
      resampled_line1 = self.resample_line(
          sideline1, resample_point_num
      )
      resampled_line2 = self.resample_line(
          sideline2, resample_point_num
      )
  
      return resampled_line1, resampled_line2
  
imports: import cv2
  import numpy
  from ppocr.utils.utility import check_install
  from numpy.linalg import norm
label_desc: Use image node_id 10 for calling the DRRGTargets obj's underlying member method code with example usage: obj.resample_sidelines(sideline1, sideline2, resample_step) and returns: resampled_line1,  resampled_line2