how to acquire each frame from video
Show older comments
Hi I am trying to acquire one frame at a time from a video. So I tried this
obj = imaq.VideoDevice('winvideo',1);
load train_data
i = 1;
while i == 1
I = step(obj);
However I don't have the image acquistion toolbox and hence this wont work Is there a way I could rewrite this ?
Answers (3)
Image Analyst
on 6 Jun 2015
0 votes
Use the built-in webcam support: http://www.mathworks.com/support/2014a/matlab/8.3/demos/webcam-support.html. I have not tried it since I have the Image Acquisition Toolbox.
1 Comment
Image Analyst
on 6 Jun 2015
See my attached demo.
santosh v
on 6 Jun 2015
0 votes
Walter Roberson
on 6 Jun 2015
0 votes
Videoreader class
Categories
Find more on Image Data Acquisition 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!