- OpenCV4Tegra should be pre-installed from the NVIDIA Jetson TX2 Developer Kit
Open a terminal in the sample directory and execute the following command:
cd build
cmake ..
make
-
Navigate to the build directory and launch the executable file
-
Or open a terminal in the build directory and run the sample :
./ZED_with_OpenCV
-
You can optionally provide an SVO file path (recorded stereo video of the ZED)
./ZED_with_OpenCV [path to SVO file]
- Click on depth window to receive the distance of the clicked location.
This table lists keyboard shortcuts that you can use in the sample application.
Parameter | Description | Hotkey |
---|---|---|
Save | Save depth and normal image. | 's' |
Exit | Quit the application. | 'q' |