OpenCV 3.2 with extra modules on Jetson TX2
Has anyone successfully installed OpenCV 3.2.0 with extra modules (opencv_contrib) on Jetson TX2? I cannot get it to build sfm and tracking modules. Outtake from cmake:
- -- Glog: YES
- ...
- -- 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 installed glog and gflags with:
sudo apt-get install libgflags-dev libgoogle-glog-dev
Best regards, Arvids
please update both opencv and opencv_contrib to latest master branch
(the opencv_dnn module was moved into main opencv)
for sfm, you'll also need to install ceres
Latest version is not an option, because it has changed behaviour on Jetson TX2 and code that works on TX1 now throws a segmentation fault.
ok, but then you need to checkout exactly the same version (commit date) for both repos.
How about looking at why the segmentation fault is thrown and trying to fix that now? It might be that something was wrong which is now fixed and thus your code logic is broken?