From ff4d3d27ddaa59597cc47c3b3b8f15b79348ceed Mon Sep 17 00:00:00 2001 From: ysy Date: Fri, 13 Dec 2019 16:24:08 +0800 Subject: [PATCH] fix wrong method name --- doc/py_tutorials/py_gui/py_trackbar/py_trackbar.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/py_tutorials/py_gui/py_trackbar/py_trackbar.markdown b/doc/py_tutorials/py_gui/py_trackbar/py_trackbar.markdown index c55515c76d..a18ee20dfd 100644 --- a/doc/py_tutorials/py_gui/py_trackbar/py_trackbar.markdown +++ b/doc/py_tutorials/py_gui/py_trackbar/py_trackbar.markdown @@ -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 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 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,