Real-time depth estimation in matlab
3 次查看(过去 30 天)
显示 更早的评论
I want to estimate depth from live video stream with two calibrated webcams in matlab but has no results.I have Webcam Support Package and Image Acquisition Toolbox but I don't know how to use live video stream via stereo calibrated webcams against recorded video file. In this post depth is estimated with two recorded video files. how can I estimate depth in live video stream?
0 个评论
回答(1 个)
Image Analyst
2016-3-23
编辑:Image Analyst
2016-3-23
Put something of known dimensions in your scene, then find it and measure it's length in pixels and in cm or whatever. Then compute the spatial calibration ratio of (real distance in cm)/(distance in pixels) to create a linear spatial calibration factor that you can then multiply by your pixel distances to get distances in cm.
See attached demo.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!