Fixed documentation: corrected parameter names
This commit is contained in:
@@ -177,7 +177,7 @@ Creates the font to draw a text on an image.
|
||||
|
||||
:param text: Text to write on an image.
|
||||
|
||||
:param location: Point(x,y) where the text should start on an image.
|
||||
:param org: Point(x,y) where the text should start on an image.
|
||||
|
||||
:param font: Font to use to draw a text.
|
||||
|
||||
@@ -236,7 +236,7 @@ Sets a callback function to be called to draw on top of displayed image.
|
||||
|
||||
:param window_name: Name of the window.
|
||||
|
||||
:param callbackOpenGL: Pointer to the function to be called every frame. This function should be prototyped as ``void Foo(void*)`` .
|
||||
:param onOpenGlDraw: Pointer to the function to be called every frame. This function should be prototyped as ``void Foo(void*)`` .
|
||||
|
||||
:param userdata: Pointer passed to the callback function. *(Optional)*
|
||||
|
||||
|
||||
@@ -182,9 +182,9 @@ Sets mouse handler for the specified window
|
||||
.. ocv:cfunction:: void cvSetMouseCallback( const char* window_name, CvMouseCallback on_mouse, void* param=NULL )
|
||||
.. ocv:pyoldfunction:: cv.SetMouseCallback(windowName, onMouse, param=None) -> None
|
||||
|
||||
:param name: Window name
|
||||
:param window_name: Window name
|
||||
|
||||
:param onMouse: Mouse callback. See OpenCV samples, such as http://code.opencv.org/svn/opencv/trunk/opencv/samples/cpp/ffilldemo.cpp, on how to specify and use the callback.
|
||||
:param on_mouse: Mouse callback. See OpenCV samples, such as http://code.opencv.org/svn/opencv/trunk/opencv/samples/cpp/ffilldemo.cpp, on how to specify and use the callback.
|
||||
|
||||
:param param: The optional parameter passed to the callback.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user