For compatibility with opencv3.x issue#276#277
For compatibility with opencv3.x issue#276#277Light-- wants to merge 1 commit intoyjxiong:masterfrom
Conversation
mentioned in yjxiong#276 This is a contradiction: The build_all.sh install opencv 2.4.13.6, opencv 2.4.13.6 don't have opencv_contrib, so it surely will not have xfeatures2d. But dense_flow/src/dense_warp_flow_gpu.cpp needs xfeatures2d for compiling, so actually i have to modify the build_all.sh to install opencv3.x, not 2.x and changed the api format from 2.x to 3.x in dense_flow.cpp, accordingly
|
Thanks! Do you have some reference for opencv-2.4.13 removing the contrib module? The DenseFlow package is recently updated to support opencv v4 and MMAction. Also I would suggest you switch to MMAction for TSN and related models. |
hi, after 2.4.9, opecv_contrib becomes a module independent of opencv. In the release note of opencv, the next released version of opencv 2.4.9 is opencv 3.0 alpha, and in opencv 3.0 alpha change log, they officially said: This is the most official statement I can find. 2.4.13.6 is one of the versions after 2.4.9, so there is no built-in contrib module, too. If you're still not sure, you can compare the differences of the APIs between 2.4.13.6 and 3.x. Thanks. |
mentioned in #276
This is a contradiction: The build_all.sh install opencv 2.4.13.6, opencv 2.4.13.6 don't have opencv_contrib, so it surely will not have xfeatures2d. But dense_flow/src/dense_warp_flow_gpu.cpp needs xfeatures2d for compiling, so actually i have to modify the build_all.sh to install opencv3.x, not 2.x and changed the api format from 2.x to 3.x in dense_flow.cpp, accordingly