At the recommendation of this wiki:
I purchased a Logitech C615 USB web cam to use with my NVIDIA TK1.
I’m running Ubuntu 14.04.1 LTS
The camera is capable of 1920x1080, which I have verified using Cheese, as well as:
sudo apt-get install luvcview
luvcview -d /dev/video0 -L
However, when I run my Python code using OpenCV, the most I can get is 800 x 448.
I’ve tried using the embedded OpenCV that comes with L4T (2.4.13) so that I could benefit from the “built in optimizations” that NVIDIA has done for this special version of OpenCV, however, several websites specifically indicate that the resolution is fixed at 640 x 480 and that since Feb 1, 2016 NVIDIA is still “working on a fix”. More info here:
Next, I tried a native compile of OpenCV (2.4.8) but I still can’t get higher resolutions. Here’s the instructiosn I used:
I tried enabling USB 3.0, but that didn’t make a difference.
I bought a USB 3.0 hub <-- no luck here either.
I also tried adding usbcore.usbfs_memory_mb=1000 to the end of extlinux.conf <-- no luck.
I also tried adding vmalloc=384M to the end of extlinux.conf <-- no luck.
I also tried patching lib4vl as described at this site <-- no luck!
I’m running out of options. Has anyone figured out a way to get max resolution out of a USB webcam plugged into the TK1 so that it can be used with Python / OpenCV? I’m a bit disappointed that NVIDIA has all the hype of being the “go-to” platform for computer vision, yet a simple plug-and-play webcam doesn’t work right out of the box.
Thanks in advance for your help!