1 Star 0 Fork 0

shenyinsong/Vehicle-Detection

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Config.py 831 Bytes
一键复制 编辑 原始数据 按行查看 历史
Yanting Zeng 提交于 2019-04-07 21:35 . first commit
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.]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shenyinsong/Vehicle-Detection.git
git@gitee.com:shenyinsong/Vehicle-Detection.git
shenyinsong
Vehicle-Detection
Vehicle-Detection
master

搜索帮助