How to add opencv_contrib to opencv4tegra?

Hey, I have everything installed thanks to the jetpack. That is why I do not know where to find the Makefile to add the extra_modules_path in order to work with contribs libraries too.

I specifically need only 2 of those libraries and I wanted to know if just pasting them in the correct folders would be enough. If so, where should I paste them?

Thanks in advance guys.

Hi,

If you want to add extra module into opencv, please build it from source.

This wiki could give you a hint:
http://elinux.org/Jetson/Installing_OpenCV

Thanks.