fixed a few more typos in the docs.
This commit is contained in:
@@ -230,9 +230,9 @@ createOpenGLCallback
|
||||
------------------------
|
||||
Creates a callback function called to draw OpenGL on top the the image display by ``windowname``.
|
||||
|
||||
.. ocv:function:: void createOpenGLCallback( const string& window_name, OpenGLCallback callbackOpenGL, void* userdata CV_DEFAULT(NULL), double angle CV_DEFAULT(-1), double zmin CV_DEFAULT(-1), double zmax CV_DEFAULT(-1)
|
||||
.. ocv:function:: void createOpenGLCallback( const string& window_name, OpenGLCallback callbackOpenGL, void* userdata =NULL, double angle=-1, double zmin=-1, double zmax=-1)
|
||||
|
||||
.. ocv:cfunction:: void cvCreateOpenGLCallback( const char* windowName, CvOpenGLCallback callbackOpenGL, void* userdata=NULL, double angle=-1, double zmin=-1, double zmax=-1
|
||||
.. ocv:cfunction:: void cvCreateOpenGLCallback( const char* windowName, CvOpenGLCallback callbackOpenGL, void* userdata=NULL, double angle=-1, double zmin=-1, double zmax=-1 )
|
||||
|
||||
:param window_name: Name of the window.
|
||||
|
||||
@@ -308,9 +308,9 @@ createButton
|
||||
----------------
|
||||
Attaches a button to the control panel.
|
||||
|
||||
.. ocv:function:: createButton( const string& button_name CV_DEFAULT(NULL),ButtonCallback on_change CV_DEFAULT(NULL), void* userdata CV_DEFAULT(NULL), int button_type CV_DEFAULT(CV_PUSH_BUTTON), int initial_button_state CV_DEFAULT(0))
|
||||
.. ocv:function:: createButton( const string& button_name=NULL, ButtonCallback on_change=NULL, void* userdata=NULL, int button_type=CV_PUSH_BUTTON, int initial_button_state=0 )
|
||||
|
||||
.. ocv:cfunction:: cvCreateButton( const char* buttonName=NULL, CvButtonCallback onChange=NULL, void* userdata=NULL, int buttonType=CV_PUSH_BUTTON, int initialButtonState=0
|
||||
.. ocv:cfunction:: cvCreateButton( const char* buttonName=NULL, CvButtonCallback onChange=NULL, void* userdata=NULL, int buttonType=CV_PUSH_BUTTON, int initialButtonState=0 )
|
||||
|
||||
:param button_name: Name of the button.
|
||||
|
||||
|
||||
@@ -266,6 +266,7 @@ VideoCapture::read
|
||||
Grabs, decodes and returns the next video frame.
|
||||
|
||||
.. ocv:function:: VideoCapture& VideoCapture::operator >> (Mat& image)
|
||||
|
||||
.. ocv:function:: bool VideoCapture::read(Mat& image)
|
||||
|
||||
.. ocv:pyfunction:: cv2.VideoCapture.read([image]) -> successFlag, image
|
||||
@@ -288,6 +289,7 @@ Returns the specified ``VideoCapture`` property
|
||||
.. ocv:pyfunction:: cv2.VideoCapture.get(propId) -> retval
|
||||
|
||||
.. ocv:cfunction:: double cvGetCaptureProperty( CvCapture* capture, int propId )
|
||||
|
||||
.. ocv:pyoldfunction:: cv.GetCaptureProperty(capture, propId)->double
|
||||
|
||||
|
||||
@@ -343,6 +345,7 @@ Sets a property in the ``VideoCapture``.
|
||||
.. ocv:pyfunction:: cv2.VideoCapture.set(propId, value) -> retval
|
||||
|
||||
.. ocv:cfunction:: int cvSetCaptureProperty( CvCapture* capture, int propId, double value )
|
||||
|
||||
.. ocv:pyoldfunction:: cv.SetCaptureProperty(capture, propId, value)->None
|
||||
|
||||
:param propId: Property identifier. It can be one of the following:
|
||||
@@ -402,6 +405,7 @@ VideoWriter::VideoWriter
|
||||
VideoWriter constructors
|
||||
|
||||
.. ocv:function:: VideoWriter::VideoWriter()
|
||||
|
||||
.. ocv:function:: VideoWriter::VideoWriter(const string& filename, int fourcc, double fps, Size frameSize, bool isColor=true)
|
||||
|
||||
.. ocv:pyfunction:: cv2.VideoWriter([filename, fourcc, fps, frameSize[, isColor]]) -> <VideoWriter object>
|
||||
@@ -461,6 +465,7 @@ VideoWriter::write
|
||||
Writes the next video frame
|
||||
|
||||
.. ocv:function:: VideoWriter& VideoWriter::operator << (const Mat& image)
|
||||
|
||||
.. ocv:function:: void VideoWriter::write(const Mat& image)
|
||||
|
||||
.. ocv:pyfunction:: cv2.VideoWriter.write(image) -> None
|
||||
|
||||
Reference in New Issue
Block a user