how to convert a video into frames in MATLAB????

Risposte (2)

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
Santhosh K il 20 Ott 2019
Rather than using hasFrame in VideoReader which is more suitable in mmreader??

Richiesto:

il 10 Ago 2018

Risposto:

il 20 Ott 2019

Community Treasure Hunt

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

Start Hunting!

Translated by