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?

  • $\begingroup$ Can you please clarify what exactly you are having trouble with? Were you able to calibrate your cameras? Is your problem only with adapting the example you cited to work with live video? $\endgroup$ – Dima Mar 15 '16 at 15:05
  • $\begingroup$ @Dima: With recorded video everything was OK but when I want to apply the process on live video stream (real time) I couldn't do that. In this post (mathworks.com/help/vision/examples/…) the problem for a single camera has been solved. However I couldn't adapt the solution for a stereo vision system (especially for depth estimation ). $\endgroup$ – Rwy5 Mar 15 '16 at 15:19

You would have to connect both cameras to your computer, and either create two webcam objects or two videoinput objects to read images from them.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.