I am using vision.videofilereader to read video files,URLs.I am able to access read the videos/URLs using step command.But I am not able to save the read data as images. Is there a way in which frame accessed using step can be saved as image(jpg,png)?

1 Ansicht (letzte 30 Tage)
I am using vision tool box.I am using vision.videofilereader to read video files,URLs.I am able to access read the videos/URLs using step command.But I am not able to save the read data as images. Is there a way in which frame accessed using step can be saved as image(jpg,png)?
  1 Kommentar
amit pathania
amit pathania am 21 Mai 2012
I am able to do this:
hvfr = vision.VideoFileReader('viplanedeparture.avi');
hp = vision.VideoPlayer;
while ~isDone(hvfr)
videoFrame = step(hvfr);
step(hp, videoFrame);
end
release(hp);
release(hvfr);
BUT I WANT TO SAVE VIDEOFRAME AS IMAGE.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by