Which language is the OpenCV documentation referred to? not Python imo

Question:

I am looking at the OpenCV documentation, an example here and I am wondering if that is not Python, because void is not related to Python.
enter image description here

I can’t find details elsewhere, sorry for this.

I was looking for a proper documentation of OpenCV in Python but the documentation on the official website does not look Python to me.

Asked By: Lewis Morgan

||

Answers:

Well, the documentation is for the C++ language but they provide examples of the functions’ use in Python since it’s the most used one for beginners.

I know it can be quite confusing at first, it’s not clear at all.

I don’t know where is the proper only Python APIs documentation, maybe someone can help me on this.

Answered By: morphineglelly

OpenCV was originally written in C++, so the documentation uses it. However, They also support you to use it on Python by providing a "wrapper package for OpenCV python bindings": opencv-python. In OpenCV’s documentation page, there is also a doc for opencv-python

Answered By: Zero-nnkn
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.