How do I obtain video (.avi) from a webcam (in real time) and store the video frames somewhere for further processing?
Show older comments
I need to obtain video frames in real-time video. I have the Image Acquisition Toolbox (R2011b). How can I write code to automatically open the Image Acquisition Toolbox and start making video?
Answers (2)
Amith Kamath
on 20 May 2013
0 votes
This will be instructive:
2 Comments
Mohd Aquib
on 23 May 2013
Edited: Walter Roberson
on 24 May 2013
Randy Souza
on 24 May 2013
I market this answer as not accepted because Mohd indicates below that this did not actually resolve the problem. However, Amith keeps the reputation points earned when the answer was marked as accepted.
Image Analyst
on 21 May 2013
0 votes
Did you run imaqtool and see what commands it logs as you do things? Commands like preview() and getsnapshot()?
6 Comments
Mohd Aquib
on 23 May 2013
Image Analyst
on 23 May 2013
You accepted the other answer so I assume you got it working since you responded to me.
Mohd Aquib
on 23 May 2013
Image Analyst
on 23 May 2013
I don't know what "i need to real time video for obtaining its frame" actually means, that's why I gave my answer - it was my best guess at what you meant. And you didn't post the error, just some clipped paraphrasing of it, so we don't really know what went wrong.
Mohd Aquib
on 23 May 2013
Image Analyst
on 23 May 2013
Which step of the process in http://www.mathworks.com/help/imaq/logging-image-data-to-disk.html did the code stop working?
Categories
Find more on Image Preview and Device Configuration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!