Display the output frame and automatically close the output frame in matlab
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
Mark Sherstan
2018-12-16
v = VideoReader('test.mp4');
while hasFrame(v)
frame = readFrame(v);
imshow(frame)
end
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!