Image processing - frame to video
显示 更早的评论
I want to display processed frames as a video.
Say I want to draw a box around a detected ball(on the realtime video) and display it.
I can grab frames from the webcam continuously(in a loop) and process it to display the box. But how do I display the processed frames as a continuous video? Something like this: http://www.youtube.com/watch?v=_FIU2rLs2mA
采纳的回答
更多回答(1 个)
Ebad Ahmadzadeh
2011-10-4
0 个投票
You could show the grabbed images in a loop using imshow() function.
2 个评论
Walter Roberson
2011-10-4
You _could_, but that would be unnecessarily slow and choppy compared to what I indicated in my answer where a single image display call is used and you then update MATLAB's notion of what the image's content is.
Ebad Ahmadzadeh
2011-10-25
Cool! you're right Walter.
类别
在 帮助中心 和 File Exchange 中查找有关 Video Formats and Interfaces 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!