Why is the Usb Webcam not working on linux?
Mostrar comentarios más antiguos
I have the Intel RealSense D435i depth camera. I tried using it on my windows 10 and matlab successfully detected the camera nad I was able to run the WebcamInLoop program given in matlab. But when I try using the same program with the same camera on Ubuntu OS, matlab is not detecting the camera. It gives different error such as,
1) mycam=webcam(2)
Error using webcam (line 116)
Error starting the webcam stream.
2) Sometimes it also gives the error, "Time out occured while trying to get a frame from the webcam".
3)Moreover, when I use the webcamlist command to view the number of devices connected, I see the same device name three times,
webcamlist
ans =
3×1 cell array
{'Intel(R) RealSense(TM) Depth Ca'}
{'Intel(R) RealSense(TM) Depth Ca'}
{'Intel(R) RealSense(TM) Depth Ca'}
This was not the case when I was using windows, I could see all three devices name i.e. laptop webcam, intel RGB camera and Intel Depth camera.
4) Also if I select the first camera, It shows only one resolution option i.e. 1920 x 1080, however, in windows, it had many options for resolution.
I have already installed Matlab USB Webcam support package and Image Acquisition toolbox. My operating system is ubuntu 16.04 LTS. I am using matlab 2019a. On windows I was using matlab 2018b.
I cannot figure out what the problem is when running the camera on linux through matlab.
3 comentarios
marawan azmy
el 13 de Nov. de 2019
Editada: marawan azmy
el 13 de Nov. de 2019
Hello, have you got a solution for problem number (4)?
because I have the same problem.
Marina Baltz
el 31 de En. de 2020
Was this ever resolved? I'm having the same issue with a d435.
smsinks
el 22 de Mzo. de 2020
No I dont think it has been resolved. I have been having this issue from months...
Respuestas (0)
Categorías
Más información sobre Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!