Ask Your Question
0

Build your own OpenCV2.Framework for iOS with JPG support

asked 2013-02-19 03:01:19 -0600

Andrei Blaj gravatar image

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!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-07-23 03:09:49 -0600

fpga18 gravatar image

I use matlab convert "jpeg" to "png",and then run in IOS.success

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-19 03:01:19 -0600

Seen: 637 times

Last updated: Jul 23 '13