Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Build your own OpenCV2.Framework for iOS with JPG support

I am building an app that needs to write a jpg image on disk from OpenCV. implemented the OpenCV functionality as a static library.

Everything works fine if I run the library on my computer. The problem is when I run the code on XCode for iOS. I started by using the official OpenCV2.Framework, which, unfortunately does not have support for JPEG.

I cloned the code from git locally and tried playing around with the CMakeFiles.txt and the build script from python trying to add jpeg support to the framework, with no success.

Did anyone succeed in building an opencv2.framework for iOS with jpeg support? Or has any idea how should I do this? :)

Thanks!