2

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. enter image description here

4
  • It's part of documentation right ? Commented Apr 10, 2017 at 10:54
  • yes, it is apart Commented Apr 10, 2017 at 10:57
  • optional parameters Commented Apr 10, 2017 at 11:01
  • thanks Miki for your answer Commented Apr 10, 2017 at 11:04

1 Answer 1

4

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.