It seems that tx2 has opencv 2.4.13 onboard by default.
Have anyone tried to get the devboard camera functioning with opencv at tx2?
It seems that somehow a line should be used like that
cv::VideoCapture cap("nvcamerasrc ! 'video/x-raw(memory:NVMM), width=640, height=480, framerate=30/1, format=NV12' ! nvvidconv flip-method=2 ! nvegltransform ! nveglglessink -e");
There were found corresponding threads:
https://devtalk.nvidia.com/default/topic/907780/jetson-tx1/-python-how-to-use-tx1-camera-with-opencv/2
https://devtalk.nvidia.com/default/topic/987537/jetson-tx1/videocapture-fails-to-open-onboard-camera-l4t-24-2-1-opencv-3-1/1
https://devtalk.nvidia.com/default/topic/991337/how-to-capture-tx1-camera-with-opencv-/
https://devtalk.nvidia.com/default/topic/904949/jetson-tx1/how-to-get-tx1-camera-in-opencv/post/4787122/#4787122