Hi JaebeomPark,
There are several successful cases to capture TX1 Camera with OpenCV, but it’s not OpenCV 2.4.x.
You will need to install the OpenCV 3.x to work with TX1 onboard camera, please refer to the following thread:
[url]https://devtalk.nvidia.com/default/topic/943129/jetson-tx1/highgui-error-v4l-v4l2-while-opening-camera-with-opencv4tegra-l4t-r24/post/4921383/#4921383[/url]
Regarding OpenCV4Tegra, it’s not well optimized for onboard camera due to pixel format issue, but USB webcam can work.
Thanks