How to read multiple video from a folder....?

6 views (last 30 days)
I am trying to compute intrest point from a video by converting to frames.....I have successfully completed the same for 1 video.....i want to do same for entire dataset but i am not able to do so...Help !!
CODE-
v= VideoReader('1.avi');
j=0;
while %condition
----
---
end

Accepted Answer

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH on 6 Dec 2019
Edited: JESUS DAVID ARIZA ROYETH on 6 Dec 2019
s=dir('*.avi');
files={s.name};
for k=1:numel(files)
v= VideoReader(files{k});
j=0;
while %condition
%yourcodehere
end
end

More Answers (0)

Community Treasure Hunt

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

Start Hunting!