Now I configure my TX1 by Jetpack 2.3.1,and install the opencv 3.1 and caffe,then when I want to test the samples of opencv 3.1(opencv-3.1.0/samples/gpu/hog.cpp),it occured a err:
I learn from http://elinux.org/Jetson/Tutorials/Full_Body_Detection
And when I run the command:
Have you built opencv-3.1 from source ?
In such case the non-free part is not enabled by default.
You should reconfigure it (with cmake-gui is the easiest way), enable non-free options, re-compile and install again.
cmake is a program for handling various build configurations for the same source code (such as different options, target platforms…).
It is used for building OpenCV.
cmake-gui is a graphical frontend for cmake. It is based on qt. You can install it with :
sudo apt-get install cmake-qt-gui
Then from a shell you can launch it with :
cmake-gui
Then select the source folder (say …/opencv-3.1/src) where you have downloaded opencv-3.1 sources, and the build folder (say …/opencv-3.1/build).
Click on configure. Look for the options and enable opencv non-free.
Click again on configure and check for any errors (in red).
If ok, click on generate. This will create makefiles in your build directory.