2020-12-02 20:10:15 -0600 | received badge | ● Notable Question (source) |
2018-05-15 04:04:56 -0600 | received badge | ● Popular Question (source) |
2016-05-24 10:16:06 -0600 | received badge | ● Student (source) |
2015-08-21 07:41:47 -0600 | answered a question | OpenCV + Swift 2 + CvVideoCameraDelegate Hello guys, I've achieved to make it work, but, to do that, unfortunatelly I had to use the version 2.4.11 of OpenCV. I don't know why the OpenCV 3 version do not work. The only adjustment I had to do is change the include in Camera.h from opencv2/videio/cap_ios.h to highgui/cap_ios.h, the old location of cap_ios.h header. Does anybody know (or have any clue) why it don't work with OpenCV 3? Thanks |
2015-08-18 23:06:57 -0600 | asked a question | OpenCV + Swift 2 + CvVideoCameraDelegate Hello guys, I've been studying OpenCV for the last couple of weeks. I'm developing a project using OpenCV 3, Swift 2, iOS 9. It needs real time camera image acquisition. I've followed several tutorials in internet (even in japanese, using translator!). But I couldn't use the CvVideoCameraDelegate in the project :/ My Objective C++ wrapper header (called Camera.h) must implement the CvVideoCameraDelegate. But, to be able to know it, I need to include the file opencv2/videoio/cap_ios.h. The image below shows my project and this header file: My bridge file it only contains this wrapper header (called Camera.h). But, when I try to build, some errors occurs: Core.hpp/Base.hpp header must be compiled as C++; climits not found. This happens because the cap_ios.h is inside the .h header. If I don't use the delegate, and include the cap_ios.h only in the .mm, there is no problem. Well, does anybody knows how to handle this? Thanks for your support. If there is questions about the problem, please ask. |