Use video Live stream
6 views (last 30 days)
Show older comments
arman Yaraee
on 13 Mar 2012
Edited: Onomitra Ghosh
on 3 Mar 2020
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 Comment
Robert
on 13 Feb 2016
Im also very interested in this. Has anyone figured out how to bring a live stream into matlab for processing???
Accepted Answer
Onomitra Ghosh
on 13 Mar 2012
Edited: Onomitra Ghosh
on 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);
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!