Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
Ekanto Arif
Ekanto Arif am 22 Jul. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 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 Kommentar
Geoff Hayes
Geoff Hayes am 22 Jul. 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.

Antworten (1)

Image Analyst
Image Analyst am 22 Jul. 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