Borrar filtros
Borrar filtros

How can I retrieve a specific frame in a video without iterating through the previous frames?

10 visualizaciones (últimos 30 días)
I know the older version of the VideoReader class allowed one to use obj.read(vid, frame#) style requests to retrieve a specific frame of the video. It seems that the new class does not allow the read function and instead uses the while hasFrame() do this style request. Is there any way i can retrieve a specific index of frame in a video

Respuestas (1)

Walter Roberson
Walter Roberson el 20 de Jul. de 2015
Set the CurrentTime property to the time of the desired frame. See http://www.mathworks.com/help/matlab/import_export/read-video-files.html

Community Treasure Hunt

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

Start Hunting!

Translated by