Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object_Tracking sample code for iOS problem #6

Open
jpelayo opened this issue Sep 19, 2017 · 3 comments
Open

Object_Tracking sample code for iOS problem #6

jpelayo opened this issue Sep 19, 2017 · 3 comments

Comments

@jpelayo
Copy link

jpelayo commented Sep 19, 2017

I've just compiled iOS sample code as an introductory crash-course to OpenCV. Seems that your logo detector files are included, and seem to be in need of an update (please):

  • Operating System / Platform => Xcode 8.3.3 OSX 10.12.6 towards iOS 10.3.3
  • OpenCV 3.3 cloned on 18-sep-2017

Xcode compilation throws:
"Object_Tracking/Algorithms/MSERManager.mm:28:5: No type named 'MserFeatureDetector' in namespace 'cv'"

It seems that MserFeatureDetector is not present within features2D.hpp anymore.

Any advice?

Cheers.

@ingocraft
Copy link

I met the same thing.

@ingocraft
Copy link

@jpelayo
hey guy, I replace the opencv2.framework to version 2.4.13.3 downloaded in http://opencv.org/releases.html, and it works.
Attention that you should add NSCameraUsageDescription as a key in Info.plist to explain why to use camera or the app will crash.
Hope it helps.

@jpelayo
Copy link
Author

jpelayo commented Sep 20, 2017

Indeed. I found out yesterday. Works.
Check "cap_ios.h"; it is placed in a different subdir if versions are swapped.
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants