Azzera filtri
Azzera filtri

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 visualizzazione (ultimi 30 giorni)
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 Commento
amit pathania
amit pathania il 21 Mag 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.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by