Hello everyone.I would to ask a question. When processing video, how to read an image every second.
1 view (last 30 days)
v = VideoReader('exampleVideo.mp4');
time = [10, 20, 30, 40, 50]; %How to automatically read the image corresponding to each second.
v.CurrentTime = time(i);
frame = readFrame(v);
figure; imshow(frame); %Perform processing on the frame here