CarND-Vehicle-Detection icon indicating copy to clipboard operation
CarND-Vehicle-Detection copied to clipboard

How do set the scales parameter?

Open molyswu opened this issue 7 years ago • 0 comments

Hi,ksakmann! How to set the scales function parameters(w0,w1,w2,w3), according to your scales parameter, my video can not scales。

def search_all_scales(image):

hot_windows = []
all_windows = []

X_start_stop =[[None,None],[None,None],[None,None],[None,None]]
w0,w1,w2,w3 = 240,180,120,70
o0,o1,o2,o3 = 0.75,0.75,0.75,0.75
XY_window = [(w0,w0),(w1,w1),(w2,w2),(w3,w3)]
XY_overlap = [(o0,o0),(o1,o1),(o2,o2),(o3,o3)]
yi0,yi1,yi2,yi3 = 380,380,395,405                  
Y_start_stop =[[yi0,yi0+w0/2],[yi1,yi1+w1/2],[yi2,yi2+w2/2],[yi3,yi3+w3/2]]    

Thank you!

molyswu

molyswu avatar Aug 22 '17 11:08 molyswu