Webcamlist не видит ни одной камеры, которых у меня 3 штуки:
>> webcamlist
ans =
{}
Логи:
>> imaqhwinfo('linuxvideo')
ans =
AdaptorDllName: '/home/voland/Documents/MATLAB/SupportPackages/R2014b/osgenericvideointerfac...'
AdaptorDllVersion: '4.8 (R2014b)'
AdaptorName: 'linuxvideo'
DeviceIDs: {[1] [2]}
DeviceInfo: [1x2 struct]
>> info = imaqhwinfo('linuxvideo', 1);
>> info.SupportedFormats'
ans =
'YUYV_1024x576'
'YUYV_1184x656'
'YUYV_1280x720'
'YUYV_1280x960'
'YUYV_160x120'
'YUYV_176x144'
'YUYV_320x176'
'YUYV_320x240'
'YUYV_352x288'
'YUYV_432x240'
'YUYV_544x288'
'YUYV_640x360'
'YUYV_640x480'
'YUYV_752x416'
'YUYV_800x448'
'YUYV_800x600'
'YUYV_864x480'
'YUYV_960x544'
'YUYV_960x720'
>> vid = videoinput('linuxvideo',1,'YUYV_640x480')
Summary of Video Input Object Using 'UVC Camera (046d:0825)'.
Acquisition Source(s): Camera 1 is available.
Acquisition Parameters: 'Camera 1' is the current selected source.
10 frames per trigger using the selected source.
'YUYV_640x480' video data to be logged upon START.
Grabbing first of every 1 frame(s).
Log data to 'memory' on trigger.
Trigger Parameters: 1 'immediate' trigger(s) on START.
Status: Waiting for START.
0 frames acquired since starting.
0 frames available for GETDATA.
>> preview(vid)
Warning: Unable to reset the crop area. Perhaps the device is in use.
Error using imaqdevice/preview (line 176)
Could not connect to the image acquisition device. Device may be in use.
dmesg:
[11484.585199] usb 4-1.1: new high-speed USB device number 7 using ehci-pci
[11484.888728] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825)
[11484.979398] input: UVC Camera (046d:0825) as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.1/4-1.1:1.0/input/input23
Перерыл многочисленные интернеты, но решения так и не нашел. Все 3 камеры прекрасно работают на Windows x64 с MATLAB 2015b. Также работают на линуксе (Arch x64) в различном софте, типа Cheese. Может нужно добавить пользователя в какую-то группу, кроме video или еще что-то? Очень надеюсь на вашу помощь. Заранее спасибо!