opencv nonfree module

How does one install the nonfree opencv module to the Jetson TX1 while preserving the CPU optimization? I would like to use the SURF feature detector and ideally use GPU SURF. I installed OpenCV for Tegra (OpenCV4Tegra I am not using Jetpack. Thank you.

Hi gandolph,

The OpenCV nonfree module is not supported in NV provided OpenCV4Tegra due to may be patented in some countries or have some other limitations on the use, please see