Use video Live stream

12 次查看(过去 30 天)
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 个评论
Robert
Robert 2016-2-13
Im also very interested in this. Has anyone figured out how to bring a live stream into matlab for processing???

请先登录,再进行评论。

采纳的回答

Onomitra Ghosh
Onomitra Ghosh 2012-3-13
编辑:Onomitra Ghosh 2020-3-3
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 个评论
arman Yaraee
arman Yaraee 2014-2-19
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

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by