Measuring distance of an object using 2 stereo vision cameras

10 views (last 30 days)
Given two cameras. I have to first detect an object using the 2 stereo vision cameras. Then I will have to calculate the distance of the object from the cameras using the camera calibration parameters. Finally I have to display the object encircled by a reactangle which says "Object 1" and also displays its distance from the camera in terms of the world units (mm here). It will be of great help if someone can give the code for the above.

Accepted Answer

Image Analyst
Image Analyst on 15 Jul 2019
Do you have the Computer Vision Sytem Toolbox? If so, use the camera calibration functionality. See the links on the right hand side of this page.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!