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

15 Ansichten (letzte 30 Tage)
muhammad usman
muhammad usman am 10 Aug. 2018
Beantwortet: Santhosh K am 20 Okt. 2019
Convert video into frames???

Antworten (2)

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

Community Treasure Hunt

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

Start Hunting!

Translated by