How can I calculate the actual distance in real world of an object from its picture that picked up by a camera?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
Image Analyst
le 11 Mar 2016
If you have the Computer Vision System Toolbox, see this link on camera calibration:
2 commentaires
Dima Lisin
le 14 Mar 2016
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 commentaires
Voir également
Catégories
En savoir plus sur MATLAB Support Package for USB Webcams dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!