How can I retrieve a specific frame in a video without iterating through the previous frames?
11 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Walter Roberson
on 20 Jul 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
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!