Info

此问题已关闭。 请重新打开它进行编辑或回答。

Why can't I get the output while using 'webcam' command?

1 次查看(过去 30 天)
I have connected a webcam to my computer and try to get snapshot from matlab. I viewed my webcam by typing 'webcamlist' in the command window and get the output 'USB Video Device' But while typing only 'webcam' it shows error- " Error getting the current Media Type". I know its a simple error but I can't cope with it. However, I am using matlab R2014a and have installed image acquisition toolbox already. Please help me
  1 个评论
Geoff Hayes
Geoff Hayes 2014-7-22
Please include the error message that you observe when you invoke the webcam command. As well, please include the line of code that raises this error.

回答(1 个)

Image Analyst
Image Analyst 2014-7-22
Do you want to use the Image Acquisition Toolbox, or the Webcam Support Package to do this?

Community Treasure Hunt

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

Start Hunting!

Translated by