使用相机测量从iPhone相机到对象的距离 [英] Measure Distance from iPhone Camera to an object using camera

查看:53
本文介绍了使用相机测量从iPhone相机到对象的距离的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实现一个可测量相机与聚焦对象之间距离的应用程序.请帮助我启动此应用程序.甚至我也不知道如何启动这个应用程序.请给我一些想法.

I would like to implement an app which measures the distance between the camera and the focused object . Kindly help me to start this application . Even I don't know how to start this app . Please give me some ideas .

推荐答案

非常困难!Iphone具有许多功能,要实现此功能,您需要跟踪光束或类似激光的东西.您可以尝试使用GPS来获取距离,但是将焦点对准某个对象肯定需要一些预加载的数据.我建议一种叫做视差法"的方法,天文学家很难用这种方法来测量地球与恒星之间的距离.它的确有可能,但需要大量的研究和开发,Iphone相机存在局限性,在使用视差方法之前需要进行一些研发,因为它需要相机以不同角度拍摄照片.绝对有可能有很多数学上的东西(例如三角函数)

Its very difficult! Iphone has many features, to implement this you either need a tracking beam or something like a laser. You can try using GPS and get the distance but focusing on a object definitely need some pre loaded data. I would suggest a method called "Parallax method", its difficult this method is used by astronomers to measure the distance between earth and stars. Its definitely possible but requires lot research and development, Iphone camera has limitation ,some R&D is required before u use parallax method because it requires camera to capture the photo at different angles. And lots of mathematical stuff (like trigonometry) definitely possible

这篇关于使用相机测量从iPhone相机到对象的距离的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆