필터 지우기
필터 지우기

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

답변 (1개)

Walter Roberson
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

Community Treasure Hunt

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

Start Hunting!

Translated by