Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you got the arguments wrong, it should be:

//create Trackbars
createTrackbar("H_min", "Trackbars", &s_min_slider, 255,on_Hchange);
createTrackbar("S_min", "Trackbars", &h_min_slider, 255,on_Vchange);