Use video Live stream

12 vues (au cours des 30 derniers jours)
arman Yaraee
arman Yaraee le 13 Mar 2012
Hello guys. I need to have a live video stream on matlab. I prefer if it's not on GUIDE. I found one but it's a .dll file and I can't use it. When I call it's function i get error. Do they need to be complied into matlab in any way???
All I need is to be able to capture an image from video stream each half second or maybe more. I have a code to process images but I want them to be taken from live webcam.
I appreciate any help. Regards, Arman
  1 commentaire
Robert
Robert le 13 Fév 2016
Im also very interested in this. Has anyone figured out how to bring a live stream into matlab for processing???

Connectez-vous pour commenter.

Réponse acceptée

Onomitra Ghosh
Onomitra Ghosh le 13 Mar 2012
Modifié(e) : Onomitra Ghosh le 3 Mar 2020
You will need the Image Acquisition Toolbox for that. You can look at the examples provided at: https://www.mathworks.com/help/imaq/examples.html
A typical workflow will be:
vid = videoinput('winvideo'); img = getsnapshot(vid);
  1 commentaire
arman Yaraee
arman Yaraee le 19 Fév 2014
Thank you very much. I thought I have accepted this answer long ago. You did a great help to me two years ago with my A-Level project.
Regards, Arman

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by