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!