Ask Your Question

Revision history [back]

Hi! use this code:

int desiredWidth=640,desiredheight=480;
resizewindow("Threshold", desiredWidth,desiredheight);
createTrackbar("Min", "Threshold", &threshMin, 255, on_trackbar);