scripts/lane.py
def is_candidate(self):
    """
    Checks whether a line-segment is a good candidate for a given lane-line (left or right).
    If the line-segment's slope is closer to a horizontal line's, then it is ignored.
    :return: Boolean value of a line-segment being a candidate.
    """
    if abs(self.slope) < Lane.APPROX_HORIZONTAL_LINE_SLOPE:
      return False
    return True

    Checks whether a line-segment is a good candidate for a given lane-line (left or right).
    If the line-segment's slope is closer to a horizontal line's, then it is ignored.
    :return: Boolean value of a line-segment being a candidate.
    
Checks whether a line-segment is a good candidate for a given lane-line (left or right).
If the line-segment's slope is closer to a horizontal line's, then it is ignored.
Checks whether a line - segment is a good candidate for a given lane - line ( left or right ) . If the line - segment ' s slope is closer to a horizontal line ' s then it is ignored .
def is_candidate(self):
    if abs(self.slope) < Lane.APPROX_HORIZONTAL_LINE_SLOPE:
      return False
    return True
def is_candidate ( self ) : if abs ( self . slope ) < Lane . APPROX_HORIZONTAL_LINE_SLOPE : return False return True
Checks whether a line-segment is a good candidate for a given lane-line (left or right).
Checks whether a line - segment is a good candidate for a given lane - line ( left or right ) .
"""
    Checks whether a line-segment is a good candidate for a given lane-line (left or right).
    If the line-segment's slope is closer to a horizontal line's, then it is ignored.
    :return: Boolean value of a line-segment being a candidate.
    """
Boolean value of a line-segment being a candidate.
Boolean value of a line - segment being a candidate .
self