opencv / opencv_for_ios_book_samples

"OpenCV for iOS" book samples

Home Page:http://bit.ly/OpenCV_for_iOS_book

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Won't run Chapter04 and Chapter15 samples using Xcode 7...

dddppp opened this issue · comments

commented

Hello,

I am getting some errors when trying to run the examples of Chapter 04 and Chapter15.. I tried to manually add the openCV framework but won't suffice.

Any help / idea / workaround?

Thanks
screen shot 2016-03-07 at 11 13 44

I fixed this by replacing the statement #import "opencv2/highgui/ios.h" to "#import "opencv2/imgcodecs/ios.h".

Looks like the ios.h file that declares the UIIMageToMat function has been moved from the highgui to imgcodecs directory in the latest framework.

Hope this helps!