代码拉取完成,页面将自动刷新
class Config():
window = 64 # Sliding window width and height
# Hyperparameters for feature extraction:
color_space = 'YCrCb' # Can be RGB, HSV or YCrCb
spatial_size = (16, 16) # Spatial binning dimensions
hist_bins = 16 # Number of histogram bins
orient = 9 # HOG orientations
pix_per_cell = 8 # HOG pixels per cell
cell_per_block = 2 # HOG cells per block
hog_channel = 'ALL' # Can be 0, 1, 2, or "ALL"
# Whether to extract certain features:
spatial_feat = True # Spatial features on or off
hist_feat = True # Histogram features on or off
hog_feat = True # HOG features on or off
# Search ranges and scale factors:
y_start_stops = [(400, 464), (400, 496), (432, 560), (448, 644)] # Min and max in y to search in sliding window
scales = [1, 1.5, 2., 3.]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。