Module opencv_tracking disabled because opencv_dnn dependency can't be resolved!

asked 2017-03-03 09:56:38 -0500

Alberl gravatar image

I run opencv-3.2.0/platforms/ios/build_framework.py with command: ./build_framework.py --contrib ../../opencv_contrib ios

But "opencv2.framework" not generate tracking module, I find follow log: -- Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags -- Module opencv_tracking disabled because opencv_dnn dependency can't be resolved!

I want to use the KCF and TLD algorithm in opencv_tracking, how to use it on ios ?

edit retag flag offensive close merge delete

Comments

In tracking module of opencv_contrib dnn module is needed because I think there is TrackerGOTURN

SFM module needs glog and gflags

Now you can check why dnn module is disabled in cmake for ios.

LBerger gravatar imageLBerger ( 2017-03-03 10:32:57 -0500 )edit

Thanks!

  1. about opencv_dnn, it is a bug of opencv, look at https://github.com/opencv/opencv_contrib/issues/1036

  2. about opencv_sfm, I have install gflags and glog, but still prompt not found. Then i find the Note on docs: The module is only available for Linux/GNU systems. look at http://docs.opencv.org/3.2.0/db/db8/tutorial_sfm_installation.html

Alberl gravatar imageAlberl ( 2017-03-07 07:27:28 -0500 )edit

It works too on windows

LBerger gravatar imageLBerger ( 2017-03-07 07:37:49 -0500 )edit

Oh, I am a beginner, only use KCF module, not use SFM module, thank you!

Alberl gravatar imageAlberl ( 2017-03-07 21:31:45 -0500 )edit

Any other ways to solve this issue? I need to get OpenCV 3.2 tracking working.

arvids.p gravatar imagearvids.p ( 2017-08-31 08:35:23 -0500 )edit