altaibayar / toptal_logo_detector

Toptal logo detector
130 stars 43 forks source link

Object_Tracking sample code for iOS problem #6

Open jpelayo opened 7 years ago

jpelayo commented 7 years ago

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):

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 commented 7 years ago

I met the same thing.

ingocraft commented 7 years ago

@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 commented 7 years ago

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