def __init__(self):
    self.current_warped_binary = None
    self.current_warped_binary_shape = []
    self.allx = None
    self.ally = None
    self.ploty = None
    self.detected = False
    self.n = 5
    self.recent_fitted_xs = []
    self.average_fitted_x = []
    self.current_fitted_x = []
    self.recent_fits = []
    self.average_fit = []
    self.current_fit = [np.array([False])]
    self.diffs = np.array([0, 0, 0], dtype='float')
    self.radius_of_curvature = []
    self.line_base_pos = None
def __init__(self):
    self.current_warped_binary = None
    self.current_warped_binary_shape = []
    self.allx = None
    self.ally = None
    self.ploty = None
    self.detected = False
    self.n = 5
    self.recent_fitted_xs = []
    self.average_fitted_x = []
    self.current_fitted_x = []
    self.recent_fits = []
    self.average_fit = []
    self.current_fit = [np.array([False])]
    self.diffs = np.array([0, 0, 0], dtype='float')
    self.radius_of_curvature = []
    self.line_base_pos = None