Mac webcam problem (videoinput)

19 ビュー (過去 30 日間)
Alfredo Yanez
Alfredo Yanez 2014 年 6 月 10 日
回答済み: Thisal Selaka 2018 年 7 月 15 日
I am able to see my webcam using:
>>webcamlist
>>mycam=webcam
but I can't using video input.
Using imaqhwinfo I get:
>> imaqhwinfo
ans =
InstalledAdaptors: {'dcam'}
MATLABVersion: '8.3 (R2014a)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '4.7 (R2014a)
>>imaqhwinfo('dcam')
ans =
AdaptorDllName: '/Users/Fredy/Documents/MATLAB/Su...'
AdaptorDllVersion: '4.7 (R2014a)'
AdaptorName: 'dcam'
DeviceIDs: {1x0 cell}
DeviceInfo: [1x0 struct]
>> obj=videoinput('dcam')
Error using videoinput (line 233)
There are no devices installed for the specified ADAPTORNAME.
See IMAQHWINFO.
Using >>webcamlist I get the following information
>> webcamlist
ans =
'FaceTime HD Camera'
How can I access my webcam using video input
I have also tried:
>> obj=videoinput('FaceTime HD Camera')
and it didn't work.
Thanks in advance.
  1 件のコメント
Stefano
Stefano 2015 年 10 月 1 日
Hi, I have the same problem with my Logitech C920, on Seven, R2014a.
webcamlist returns : ans =
'Logitech HD Pro Webcam C920'
'USB2.0 UVC HD Webcam'
but imaqhwinfo returns : ans =
InstalledAdaptors: {'winvideo'}
MATLABVersion: '8.3 (R2014a)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '4.7 (R2014a)'
So I can't use may Logitech C920 with videoinput.
Have you found a solution?
Thanks in advance.

サインインしてコメントする。

回答 (3 件)

Abdu307
Abdu307 2016 年 2 月 12 日
編集済み: Abdu307 2016 年 2 月 12 日
1- Open Support Package Installer
2- Install "OS Generic Video Interface"
3- use "obj = videoinput('macvideo',1);"
  2 件のコメント
Sahin
Sahin 2016 年 4 月 25 日
Thank you. I had the same problem. Now, it's fixed..
DSB
DSB 2017 年 4 月 22 日
how did you fix it i have the same problem with mac camera to read the video input

サインインしてコメントする。


Bradley McDonald
Bradley McDonald 2015 年 11 月 14 日
someone please help

Thisal Selaka
Thisal Selaka 2018 年 7 月 15 日
I have the same problem. Please Help!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by