OpenCV Image Processing -- C++ vs C vs Python

Viewed 7861

I was thinking of trying OpenCV for a project and noticed that it had C, C++ and Python.

I am trying to figure out whether I should use C++, C or Python -- and would like to use whatever has the best OpenCV support.

Just from looking at the index page for the various documentation it looks like the C++ bindings might have more features than the others? Is this true?

If C++ has more bindings, it seems that would be a more obvious choice for me, but I was just curious if it really has more features, etc than the others?

Thanks!

4 Answers

The Python interface is still being developed whereas the C++ interface (especially with the new Mat class) is quite mature. If you're comfortable in C++, I would highly recommend using it - else, you can start using Python and contribute back any features you think OpenCV needs :)

I think it depends how proficient you are in C++. The Mat interface does appear more modern than the old IPLImage C interface. The problem I'm having is that most of the examples you'll find on the web, or even here on stackoverflow are for the C interface (e.g. cvCvtColor), not for the C++ interface. So I'm really struggling to port the C examples to C++.

Related