I can't understand What is the meaning of square brackets in Opencv function input parameters ?
I tried to understand it by my self but I can't.

-
It's part of documentation right ?Rahul K P– Rahul K P2017-04-10 10:54:16 +00:00Commented Apr 10, 2017 at 10:54
-
yes, it is apartMohammed Awney– Mohammed Awney2017-04-10 10:57:06 +00:00Commented Apr 10, 2017 at 10:57
-
optional parametersMiki– Miki2017-04-10 11:01:20 +00:00Commented Apr 10, 2017 at 11:01
-
thanks Miki for your answerMohammed Awney– Mohammed Awney2017-04-10 11:04:34 +00:00Commented Apr 10, 2017 at 11:04
Add a comment
|
1 Answer
A square bracket indicates an optional parameter. Some optional parameters can be inputed only if the preceding optional parameters have been inputed. For example, you cannot input delta parameter if you have not inputed also dst and anchor. This explains why in the function description you have several brackets that opens before you get to the point where they can be closed.