code: def _calc_distance_between_lines(L1, L2):
      eps = 1e-16
      A1, _, C1 = L1
      A2, B2, C2 = L2
      new_C1 = C1 / (A1 + eps)
      new_A2 = 1
      new_B2 = B2 / (A2 + eps)
      new_C2 = C2 / (A2 + eps)
      dist = (np.abs(new_C1 - new_C2)) / (
          np.sqrt(new_A2 * new_A2 + new_B2 * new_B2) + eps
      )
      return dist
  
file_path: PaddleSeg/EISeg/eiseg/util/regularization/rs_regularization.py
imports: import math
  import cv2
  import numpy
  from .utils import calc_distance
label_desc: Use image node_id 11 for calling a global function with example usage: _calc_distance_between_lines(L1, L2) and returns: dist