How can I use a USB webcam on Ubuntu linux 64-bit with MATLAB R2014b?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (2)
Giorgos Papakonstantinou
am 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 Kommentare
Pascal Heinrich
am 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 Kommentare
Siehe auch
Kategorien
Mehr zu Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!