how can i recrord a video from webcam using matlab ?

1 visualización (últimos 30 días)
serjion
serjion el 7 de Sept. de 2016
Comentada: Star Strider el 7 de Sept. de 2016
how can i recrord a video from webcam using matlab ?

Respuesta aceptada

Star Strider
Star Strider el 7 de Sept. de 2016
You can get a free Support Package for your webcam by typing:
webcam
in the Command Window. In recent MATLAB versions, this throws an error and gives you a link to the webcam Support Package for your operating system and MATLAB version.
If this doesn’t work (you have an earlier MATLAB version), see the documentation for Supported Hardware for your OS and MATLAB version.
  2 comentarios
serjion
serjion el 7 de Sept. de 2016
Thank you,but it's working for pictures only not for videos.
Star Strider
Star Strider el 7 de Sept. de 2016
My pleasure.
It does support videos. See the documentation for Logging Video to Disk for details. (This documentation is for R2016a, so you need to determine if it can be used in earlier releases, since there could be version differences.)
That code creates a series of still frames saved to an .avi file, but then to the best of my knowledge, all videos are created that way.

Iniciar sesión para comentar.

Más respuestas (1)

George
George el 7 de Sept. de 2016
You can use the Image Acquisition Toolbox if you have access to it.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by