I can’t seem to get OpenCV VideoCapture to capture images on the Jetson with python or C++.
They all work fine on MacOS X, Windows7.
Webcams tried: Logitech, Philips 900, Microsoft Lifestyle, GoPro Hero4
Logitech, Philips 900 work with “cheese”.
This is the python code:
cap = cv2.VideoCapture(0)
Gives me these errors:
HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP
What does that mean?
I’m using the latest jetpack from a couple months ago. Anybody know how to solve this? BTW, I’m a struggling newbie, new to linux and Jetson. I trying to help a robot team, I’m wiped out, running on fumes. Help please…some direction here would be helpful.
Ideas I have:
- Somebody said in 2014 R21 had problems like this. Should I try going back to R19? If yes, is that easy? Does ANYBODY have R21 working with Webcams? Can I just buy a known good webcam off amazon?
- Cheese works. Should I download the source and investigate?
- Somebody said use V4L to capture video, sounds good, use a LD_PRELOAD command to force a link or something, but I can’t seem to get the V4l, is apt-get install libv4l-0 supposed to work?