How can I calculate the actual distance in real world of an object from its picture that picked up by a camera?
2 ビュー (過去 30 日間)
古いコメントを表示
i want to calculate or know the distance in the real world between an object and the camera during taking a photo for this object ....what the function or code that can i use to calculate this distance from its picture that picked up by the camera?
0 件のコメント
回答 (2 件)
Image Analyst
2016 年 3 月 11 日
If you have the Computer Vision System Toolbox, see this link on camera calibration:
2 件のコメント
Dima Lisin
2016 年 3 月 14 日
With one camera, you may be able to compute the distance if you have a calibrated camera, and you know the actual size of the object. If you do not know the size of the object, then you would need a calibrated stereo camera, or an RGB-D camera.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Support Package for USB Webcams についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!