如何使用相机(android设备)获得对象的距离和对象的大小? [英] How to get the distance to an object and size of the object using the camera (android device)?

查看:107
本文介绍了如何使用相机(android设备)获得对象的距离和对象的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个android解决方案来计算到一个对象的距离,然后确定的大小(高度,宽度,长度)。例子将是一座桥梁,建筑物。

I am seeking an android solution to calculate the distance to an object and then determine the size (height, width, length). Example would be a bridge, building.

推荐答案

此信息不适用于单张图片。使用立体成像将是可能的,即,采用以一些(不重要)处理在空间上分离的两个图像。

This information is not available in a single image. It would be possible using stereoscopic imaging i.e. take two images spatially separated with some (not insignificant) processing.

虽然对焦控制可能在实际中给出带外的深度信息,但是对于具有这样小的传感器的相机在超过几英尺因为景深很大。

Although the focus control might appear to give out of band information on depth in practice it would be very inaccurate with a camera with such a small sensor at anything beyond a few feet since the depth of field is very large.

这篇关于如何使用相机(android设备)获得对象的距离和对象的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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