##########################################################
# config.py
#
# SPDX-FileCopyrightText: Copyright 2021 <NAME>
#
# SPDX-License-Identifier: MIT
#
# Configuration data
#
# ########################################################
#
# White color mask threshold
white_lower = [0, 210, 0]
white_upper = [255, 255, 255]
# Yellow color mask threshold
yellow_lower = [10, 0, 110]
yellow_upper = [40, 255, 255]
# Drawing configuration
draw_area = True
road_color = (204, 255, 153)
l_lane_color = (0, 0, 255)
r_lane_color = (255, 0, 0)
lane_thickness = 30
# Frame width and height
width = 1280
height = 720
# Sliding window
n_windows = 12
margin = 200
nb_margin = 150
radii_threshold = 6
# Conversion pixel to meter
px_to_m_y = 30/720 # meters per pixel in y dimension
px_to_m_x = 3.7/700 # meters per pixel in x dimension
# Lanes and poly
min_lane_dis = 500
poly_thr_a = 0.005
poly_thr_b = 0.8
poly_thr_c = 180
# Average
queue_len = 10
##########################################################
# config.py
#
# SPDX-FileCopyrightText: Copyright 2021 <NAME>
#
# SPDX-License-Identifier: MIT
#
# Configuration data
#
# ########################################################
#
# White color mask threshold
white_lower = [0, 210, 0]
white_upper = [255, 255, 255]
# Yellow color mask threshold
yellow_lower = [10, 0, 110]
yellow_upper = [40, 255, 255]
# Drawing configuration
draw_area = True
road_color = (204, 255, 153)
l_lane_color = (0, 0, 255)
r_lane_color = (255, 0, 0)
lane_thickness = 30
# Frame width and height
width = 1280
height = 720
# Sliding window
n_windows = 12
margin = 200
nb_margin = 150
radii_threshold = 6
# Conversion pixel to meter
px_to_m_y = 30/720 # meters per pixel in y dimension
px_to_m_x = 3.7/700 # meters per pixel in x dimension
# Lanes and poly
min_lane_dis = 500
poly_thr_a = 0.005
poly_thr_b = 0.8
poly_thr_c = 180
# Average
queue_len = 10
########################################################## # config.py # # SPDX-FileCopyrightText: Copyright 2021 <NAME> # # SPDX-License-Identifier: MIT # # Configuration data # # ######################################################## # # White color mask threshold # Yellow color mask threshold # Drawing configuration # Frame width and height # Sliding window # Conversion pixel to meter # meters per pixel in y dimension # meters per pixel in x dimension # Lanes and poly # Average