OpenCV 3.2 with extra modules on Jetson TX2

asked 2017-08-31 02:19:30 -0500

arvids.p gravatar image

updated 2017-08-31 02:22:33 -0500

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

edit retag flag offensive close merge delete

Comments

1

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

berak gravatar imageberak ( 2017-08-31 02:31:43 -0500 )edit
1

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.

arvids.p gravatar imagearvids.p ( 2017-08-31 02:38:19 -0500 )edit
1

ok, but then you need to checkout exactly the same version (commit date) for both repos.

berak gravatar imageberak ( 2017-08-31 02:40:55 -0500 )edit
1

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?

StevenPuttemans gravatar imageStevenPuttemans ( 2017-08-31 03:43:41 -0500 )edit