Open roscopecoltran opened 7 years ago
Could you paste out some error info so that I can identify what happened to you?
Hi,
Thanks for your reply !
Here is a screenshot of the error on Xcode. Looks like that some dependencies are missing and being picked from a folder under the project path: graduation-design/deformabletracker/src/MatchTracker/InlierMatchTracker.cpp
Cheers, R.
I have some separated files in other folders. Sorry about that. I've uploaded the missing files.
Hi,
Thanks for the update but I still have an error message. Please see below:
Are you using a version of OpenCV for iOS lower than 2.4.13 ? ( I downloaded v2.4.13 from sourceforge.net)
Maybe Xcode is mixing files and versions... I do not see ORB-SLAM being include in the project for eg.
Cheers, R.
I use opencv 3.0.0, there are some differences between 2.4 and 3.0 in KeyPoint computation.
I tried with 3.0 but still have a conflict with LAPACK and OpenCV
Are you building a universal (arm64/armv7) app or only for armv7 ? Any specific compilation flags or bash script to execute during the building phases ?
There is some conflict with armadillo and accelerate. You can manually fix this by hacking opencv2.framework.
Delete #import <Accelerate/Accelerate.h>
in both <opencv2/imgcodecs/ios.h>
and <opencv2/videoio/cap_ios.h>
.
我运行的unity版本,运行起来之后就挂了
请问你用的是哪个版本的iPhone,哪个版本的opencv,前阵子比较忙,没来的及回,我最近看一下你这个崩溃的情况
traceManager->feed(image) 闪退
这个问题好像之前碰到过,是栈内存爆了,应该是descriptor flann match的时候有某个变量是在栈上初始化的,导致栈内存不够(iOS默认栈内存好像是4K?),要在堆上new一个,我之后push一下。
我找到问题了,是opencv的问题,ios只要 include <opencv2/opencv.hpp> 就会出问题,不使用这个方式,单独引用opencv类句可以了。
那这个怎么办呢?
@yunshangyue71 match08的解决方案你试过了吗,可以work吗
Hi,
Hope you are all well !
I tried to build the project on iOS but several files are missing for PointMatching and several conflicts happens with accelerate framework with OpenCV/Armadillo.
Do you have any guidance to fix them ? Would be really cool.
Cheers, Richard