Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Ekanto Arif
Ekanto Arif le 22 Juil 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaire
Geoff Hayes
Geoff Hayes le 22 Juil 2014
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.

Réponses (1)

Image Analyst
Image Analyst le 22 Juil 2014
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