mirror of
https://github.com/opencv/opencv.git
synced 2024-12-18 19:38:02 +08:00
fix wrong method name
This commit is contained in:
parent
e6ce752da1
commit
ff4d3d27dd
@ -14,7 +14,7 @@ Here we will create a simple application which shows the color you specify. You
|
|||||||
shows the color and three trackbars to specify each of B,G,R colors. You slide the trackbar and
|
shows the color and three trackbars to specify each of B,G,R colors. You slide the trackbar and
|
||||||
correspondingly window color changes. By default, initial color will be set to Black.
|
correspondingly window color changes. By default, initial color will be set to Black.
|
||||||
|
|
||||||
For cv.getTrackbarPos() function, first argument is the trackbar name, second one is the window
|
For cv.createTrackbar() function, first argument is the trackbar name, second one is the window
|
||||||
name to which it is attached, third argument is the default value, fourth one is the maximum value
|
name to which it is attached, third argument is the default value, fourth one is the maximum value
|
||||||
and fifth one is the callback function which is executed every time trackbar value changes. The
|
and fifth one is the callback function which is executed every time trackbar value changes. The
|
||||||
callback function always has a default argument which is the trackbar position. In our case,
|
callback function always has a default argument which is the trackbar position. In our case,
|
||||||
|
Loading…
Reference in New Issue
Block a user