Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2016-03-31 07:51:16 -0600

Nbb gravatar image

Trackbar - do not call function until LMB released

Hello,

My app with the trackbar lags everytime I make a change to the value as there is a lot of processing being done. Is there anyway I can have the program not run the function until the left mouse button is released ? The setMouseCallback function only gets invoked when the mouse click is in the display window itself so I was not able to try that out.

A link or guide to any C++ / OpenCV method would be nice..

Thanks