Ask Your Question
0

OpenCV and CardIO conflict in iOS

asked 2017-09-20 02:40:23 -0600

Biowolf gravatar image

updated 2017-09-20 04:46:55 -0600

Please, help me! I have both OpenCV and CardIO frameworks in one project. Without CardIO it's work great, but with CardIO i receive follow error: EXC_BAD_ACCESS in cv::cvtColor function.

What are the ways to solve this problem?

Can I build a CardIO with the included dynamic OpenCV framework in order not to connect the OpenCV separately?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-09-20 06:09:35 -0600

Looking at https://github.com/card-io/card.io-iO... it seems one of the dependencies of the framework is OpenCV itself. My best guess, it uses a different version of OpenCV than you are using and thus generating issues. Probably they are also using the cv namespace, leading to these problems.

It seems they integrated only part of the OpenCV library, by simply copying the functionality and headers, which is just a bad way of working and generating issues for you now!

edit flag offensive delete link more

Comments

Thank you for answer. Yes, they integrated libopencv_core.a and libopencv_imgproc.a that i am using too in my project.

Can I build an OpenCV in the form of a static library with header files to later add it to CardIO?

Biowolf gravatar imageBiowolf ( 2017-09-20 06:25:42 -0600 )edit

what they do is just plain wrong, instead of building a depencency on OpenCV, they grabbed part of it and never updated anymore. Therefore they have similar and conflicting functionality. How to solve those, probably removing their opencv part and trying to integrate with a working dependency.

StevenPuttemans gravatar imageStevenPuttemans ( 2017-09-20 06:27:49 -0600 )edit

Tell me, please, how can I create OpenCV in the form of a static library so that later I can integrate it? Earlier I tried python script to do this.

Biowolf gravatar imageBiowolf ( 2017-09-20 06:38:35 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-09-20 02:40:23 -0600

Seen: 326 times

Last updated: Sep 20 '17