Is the OpenCV C API obsolete?

I'm trying to use OpenCV on a Raspberry Pi (embedded system), so I need the source code of the OpenCV C API so that I can compile and use it.

After some searching, I found that the C API was developed in OpenCV 1.x. Now it is supported only for backward compatibility. It is outdated and may be removed in the future.

OpenCV has C documentation , but I was unable to get the source code.

So is the OpenCV C API deprecated or can I download the older source code?

+7
source share
3 answers

Check out the installation guide here: http://opencv.willowgarage.com/wiki/InstallGuide

There is only one package for OpenCV that includes bindings for C. However, I don’t think that C ++ speed compared to C speed should be a problem on Raspberry Pi, so just use C ++.

+4
source

The OpenCV C API is also part of the new versions of OpenCV.

However, the internal components of OpenCV are C ++ in OpenCV 2.0 and later. Thus, you cannot compile the new OpenCV without C ++ support.

+9
source

Quote from the website for the current version of OpenCV:

OpenCV is licensed under BSD, free for academic and commercial use. It has C ++, C , Python, and soon Java interfaces running on Windows, Linux, Android, and Mac.

You can find examples of C programs that ship with opencv in the samples/c folder in your installation or on the github website .

+2
source

All Articles