How can I use a USB webcam on Ubuntu linux 64-bit with MATLAB R2014b?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I can't use the Image Acquisition toolbox on Ubuntu linux 64-bit with MATLAB R2014b because I received this error:
'Error using imaqdevice/preview (line 176) Could not connect to the image acquisition device. Device may be in use.'
I have already installed the OS Generic Video Interface and the webcam works fine with 'cheese'.
Thanks
0 commentaires
Réponses (2)
Giorgos Papakonstantinou
le 9 Jan 2015
I have exactly the same problem with the same configuration (Check a similar post here ). I have not found a solution yet. Some relevant information can be found here.
I have tried to run matlab from the terminal like this:
LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l2convert.so matlab
or
LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so matlab
which gives me the following error:
ld.so: object '/usr/lib/i386-linux-gnu/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored
Consequently, I have not managed to solve the problem and get my camera working with matlab.
Did you finally fix it? I would appreciate if you have any info.
Thank you
0 commentaires
Pascal Heinrich
le 19 Jan 2015
Hey,
sadly I have to say that I have not managed to work it on my machine but you have to figure out if your cam is supported by the uvc driver
My cam is supported but the problem remains the same :(
Also I have tried to start matlab as root (maybe permission problems) without luck.
Any further ideas?
Thank you
0 commentaires
Voir également
Catégories
En savoir plus sur Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!