Display the output frame and automatically close the output frame in matlab

2 ビュー (過去 30 日間)
Nibir Sarker
Nibir Sarker 2018 年 12 月 16 日
回答済み: Mark Sherstan 2018 年 12 月 16 日
I am working on a project named illegal trash throwing person detection. I just want to display the output frame one by one and then the frame will vanish and will display new frame output. Now which function will I use to do that operation.
Ex: In a input video 1st frame will be displayed then it will vanish then 2nd frame will be displaye and vanished and so on.

採用された回答

Mark Sherstan
Mark Sherstan 2018 年 12 月 16 日
v = VideoReader('test.mp4');
while hasFrame(v)
frame = readFrame(v);
imshow(frame)
end

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by