Foreground Detection Using GMM on Depth Images
2 次查看(过去 30 天)
显示 更早的评论
I used vision.ForegroundDetector() to detect foreground on RGB video frames. The input of step() is from the vision.VideoFileReader() which reads .avi video frame. If I want to detect foreground on depth images, how can I provide an input of 20 depth images (.png) instead of an .avi file?
0 个评论
回答(1 个)
Dima Lisin
2016-2-28
The step method of vision.ForegroundDetector takes an image, which can come from anywhere. So you can just read your depth maps from the png files with imread and feed them into the foreground detector.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!