Borrar filtros
Borrar filtros

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 visualización (últimos 30 días)
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 comentario
amit pathania
amit pathania el 21 de Mayo de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Computer Vision with Simulink en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by