how to convert a video into frames in MATLAB????
Show older comments
Convert video into frames???
Answers (2)
KSSV
on 10 Aug 2018
vidObj = VideoReader('C:\Users\Public\Videos\Sample Videos\Wildlife.wmv');
numFrames = 0;
while hasFrame(vidObj)
F = readFrame(vidObj);
numFrames = numFrames + 1;
imagesc(F)
drawnow
end
numFrames
Santhosh K
on 20 Oct 2019
0 votes
Rather than using hasFrame in VideoReader which is more suitable in mmreader??
Categories
Find more on Video Formats and Interfaces in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!