Adding dependencies for optical flow module

asked 2015-06-24 07:06:46 -0600

YuvalNirkin gravatar image

updated 2015-06-24 07:10:20 -0600

Hello, I want to add a new optical flow algorithm called SIFT flow to the optflow module. I think it can be a great constribution. SIFT is not free so I added the interface under opencv2/optflow/nonfree.hpp. I am using functions from xfeatures2d and features2d, How do I add those modules as dependencies to the optflow module?

Thanks in advance, Yuval

edit retag flag offensive close merge delete

Comments

1

add your dependancies to optflow/CmakeLists.txt , like this:

ocv_define_module(optflow opencv_core opencv_imgproc opencv_video opencv_highgui opencv_features2d opencv_xfeatures2d WRAP python)
berak gravatar imageberak ( 2015-06-24 07:14:14 -0600 )edit

Nice, thank you!

YuvalNirkin gravatar imageYuvalNirkin ( 2015-06-24 09:47:24 -0600 )edit