TRACK BAR in python
I have issue with track bar. Can anybody give me blueprint of trackbar. As minimal 1 slider code as possible , what gives output as value of slider. Like if slider is from 0 to 10 then , i get output value 5 if slider is at middle.
I have function what changes gamma of image ,
I want to read trackbar value and send it in to function where i give input , what changes my image gamma value.
Lets say , function name is :
gammachanger(x)
i want read trackbar value and enter it in to X
I have not find yet good tutorial what could explain me use of trackbar . All tutorials start to explain somewhere in the middle , and half info is not explained :(
My function code example:
i removed your useless screenshot, please add a TEXT version of your code to your question instead.
You cannot use only one slider. You need 3 sliders. The trackbar can be found on opencv3.3.1/samples folder