Why MATLAB R2014a can not recognize my usb camera, while my camera works fine with amcap ?

조회 수: 2 (최근 30일)
My usb camera works fine with amcap ,but R2014a hardware browser can not see my camera.
The result of imaqhwinfo is below
>> imaqhwinfo
ans =
InstalledAdaptors: {}
MATLABVersion: '8.3 (R2014a)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '4.7 (R2014a)'
<<
>>
  댓글 수: 2
John Porter
John Porter 2016년 4월 15일
I have the same problem, but I have already installed OS Generic Video on my linux computer. When I type in imaqhwinfo I get:
imaqInfo =
InstalledAdaptors: {'dcam' 'gentl'}
MATLABVersion: '9.0 (R2016a)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '5.0 (R2016a)'
From what I read, it seems like I want linuxvideo but its not there. The camera I'm using is ELP-USB500W02M-L21, and it works fine on a windows computer but not linux.
Any help is greatly appreciated!!
Madhura Suresh
Madhura Suresh 2016년 4월 18일
Hi John,
The 'linuxvideo' (OS Generic Video interface) uses the gstreamer 0.10 system libraries to access the camera. The application "cheese" also uses gstreamer. Can you see you camera when you use cheese? If not, install gstreamer 0.10 libraries, and make sure cheese is working before trying this in MATLAB.
Madhura

댓글을 달려면 로그인하십시오.

채택된 답변

Friedrich
Friedrich 2014년 4월 10일
편집: Friedrich 2014년 4월 10일
Hi,
look at the line
InstalledAdaptors: {}
You don't have any adaptor installed. Please install at least winvideo and you cam should be detected. In order to install the adaptors run
>>supportPackageInstaller
and follow the instructions (choose the OS Generic Video Interface a.k.a winvideo adaptor later on)
  댓글 수: 5
Image Analyst
Image Analyst 2014년 4월 11일
Do you have a full version of R2014a (not a student version)? If so, you have the support contract so call them and ask them.

댓글을 달려면 로그인하십시오.

추가 답변 (6개)

Image Analyst
Image Analyst 2014년 4월 10일
R2014a now lets users connect to a web cam through an "Add on" that you can install from the tool ribbon. It does not need or require the Image Acquisition Toolbox. It also seems a bit easier to use than the IATB. Go here for more info: http://www.mathworks.com/support/2014a/matlab/8.3/demos/webcam-support.html
  댓글 수: 3
Image Analyst
Image Analyst 2014년 4월 10일
Worked for me. Did you try what they showed you in the video tutorial?
Kazim Hanbay
Kazim Hanbay 2015년 6월 30일
Thanks your answer. My problem is solved. I choose the OS Generic Video Interface.

댓글을 달려면 로그인하십시오.


Shankar Subramanian
Shankar Subramanian 2015년 7월 2일
Hi Xiang and Kazim,
This page may help in the future for other adaptors that you may look to work with - Mapping Adaptor/Hardware to corresponding Support Packages
Thanks
Shankar

elham sa
elham sa 2015년 7월 6일
I have a similar problem.
I was able to connect my built-in webcam to Matlab by installing support packages for OS Generic Video Interface.
but I want to connect my Canon EOS camera (connects thru USB). Which support package should I install?
  댓글 수: 1
Image Analyst
Image Analyst 2015년 7월 7일
Call them and ask it the Image Acquisition Toolbox will work for your camera. Does your EOS camera not show up in Windows Device Manager?

댓글을 달려면 로그인하십시오.


Harold Chate
Harold Chate 2016년 4월 11일
I have a similar problem, My problem is solved. I choose the OS Generic Video Interface. thank you for your answer.

Yash Kant
Yash Kant 2017년 1월 1일
My machine runs on Ubuntu and I found that apart from OS Generic Video interface, GStreamer is also required for the hardware to be detected.

Hakan Basargan
Hakan Basargan 2019년 11월 4일
Installing Image Acquisition Toolbox Support Package for OS Generic Video Interface might solve your problem :

Community Treasure Hunt

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

Start Hunting!

Translated by