I just installed OpenCV4Tegra on my TX2 and I can import cv2 in python, but an ERROR came out when I used cv2.VideoCapture(0) to capture video stream. The error tips as followed:
Python 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 >>> vs = cv2.VideoCapture(0) VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV
My TX2 runs with JetPack 3.0, and the opencv is 3.2.0, the camera is the default camera come with TX2.
Any help will be much appreciated.