How can I retrieve a specific frame in a video without iterating through the previous frames?
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Walter Roberson
2015-7-20
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!