Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
Ekanto Arif
Ekanto Arif il 22 Lug 2014
Chiuso: MATLAB Answer Bot il 20 Ago 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 Commento
Geoff Hayes
Geoff Hayes il 22 Lug 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.

Risposte (1)

Image Analyst
Image Analyst il 22 Lug 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