Real-time depth estimation in matlab

조회 수: 2 (최근 30일)
Ali Tareq
Ali Tareq 2016년 3월 13일
댓글: Ali Tareq 2016년 3월 24일
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?

답변 (1개)

Image Analyst
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.
  댓글 수: 1
Ali Tareq
Ali Tareq 2016년 3월 24일
thanks for your answer.I will check it and come back with the results.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by