I recently installed CUDA 6.5 and OpenCV 2.4.10 on the Jetson, and both are running successfully. However, when I try to run a sample OpenCV program using the webcam, plugged into a USB hub, it cannot detect the camera. Initially the light on the webcam came on briefly, so I thought it found it, but then it would produce a black screen window claiming it can’t capture video. I checked to see if the device could be seen using $lsusb (which it shows up) and tried using luvcview to access the camera. Unfortunately, I get a strange error: “ERROR opening V4L interface: No such file or directory”, especially since I installed it along with the other OpenCV libraries. Is it possible to capture OpenCV images with a webcam plugged into a USB hub versus directly into the board itself? Or is there another issue to this (i.e. the webcam or missing library)?
Webcam = Logitech (model unknown b/c its 8 yrs. old)
Jetson TK1 = R21.1
OpenCV = 2.4.10
CUDA = 6.5
OpenCV (Sect. ‘Testing OpenCV’): http://elinux.org/Jetson/Installing_OpenCV
g++ laplace.cpp -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_calib3d -lopencv_contrib -lopencv_features2d -lopencv_flann -lopencv_gpu -lopencv_legacy -lopencv_ml -lopencv_objdetect -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_video -lopencv_videostab -o laplace
Luvcview (Sect. ‘Camera Access’): http://elinux.org/Jetson/Cameras
sudo apt-get install luvcview
luvcview -d /dev/video0 -L
luvcview -o out.avi"