Adding dependencies for optical flow module
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
add your dependancies to optflow/CmakeLists.txt , like this:
Nice, thank you!