如何使用相机来测量高度,宽度和距离的对象?如何使用、宽度、测量、高度

2023-09-11 20:06:32 作者:少年不再年少

我提到很多很多的联系,但我仍然是不能够得到,我可以开始我的开发的任何一点。我要测量我的形象的高度,宽度和距离使用的相机。我发现这个应用。我想打这种类型的应用程序不完全一样的,但不太一样,但我的要求,我想衡量我的形象的高度,通过相机的宽度和距离。

I referred lot many links but still I am not able to get any point from that I can start my development. I want to measure my image height, width and distance using camera. I found this app . I want to make this type of application not exactly same but quite same but for my requirement I want to measure my image height, width and distance using camera.

谁能给我/建议我以正确的方式或任何例子,这样我可以得到有关此要求的更多的想法。

Can anyone give me/suggest me the right way or any example so that I can get more idea about this requirement.

在此先感谢。

推荐答案

我想我知道你在问什么。这里是你可以做的。

I think I know what you are asking for. Here is what you can do.

首先得到该人的身高说ħ米。

first get the height of the person say h meters.

如果你可以计算出从地面相机的高度(使用高度,如果该人即h)和获得角A和使用陀螺仪或东西从机器人B,那么你可以使用上面的公式计算出物体的高度。

if you can calculate the height of the camera from ground (using height if the person i.e. h) and get angles A and B using gyroscope or something from android then you can calculate the height of the object using the above formula.

这不是你要找的是什么???

Isn't this what you were looking for???

让我知道如果你需要任何解释。

let me know if you need any explanation.

 
精彩推荐
图片推荐