C wrapper for C++ OpenCV

asked 2016-02-24 13:00:12 -0500

fijoy gravatar image

I am trying to integrate OpenCV into a large codebase (order of 100K lines) that I have. To do this ideally, I would like to create C wrappers to the OpenCV C++ interface, since the C interface to OpenCV is deprecated. Does anyone here have experience in doing this? I understand that C wrappers to C++ libraries can be created using extern "C" in general, but I am looking for experience, potential problems, etc. specifically related to OpenCV.

Any resources, tips, experience, caveats, etc. you can share will help. Thanks much!

edit retag flag offensive close merge delete