As you said the application uses orientation sensor for calculating the angle..

My question is how does it calculate exact height I mean the algorithm used to calculate the height..

By referring your post I think this is the way the algorithm calculate the height…

By STEP1 we can calculate the distance from the object..

AB=h*tan(angle)

where we angle can be taken as the pitch value of the orientation sensor….

And By referring STEP2

We can calculate the remaining height of the object BB’-AA’=h’=BB-h=AB*tan(angle)..

where angle=pitch-90;

Then total height of the object

BB’=h+h’;

Am I right…….Actually I need to develop some custom application using the above algorithm…

I also doubt that does it calculate the height accurately with in 50 meter distance… Because as the distance between camera and object increases the size of the object appear reduced compared to the same object in few meter away from the camera.. I mean can we take h and the object height same when the camera sensor pointing horizontally, that is when pitch of the orientation sensor equal to 90 degree..

Thanks in advance……..

]]>It work well on long distances, but not with small objects.

I recommend SLIDE METER for that!

https://play.google.com/store/apps/details?id=com.dicotomica.eMeter

I am impressed by reading your innovative apps. But I cannot download the smart measure, could you please e-mail me the file

Best Regards

]]>