Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Measure height using angle #18

Open
Robert321245 opened this issue Nov 24, 2023 · 0 comments
Open

Measure height using angle #18

Robert321245 opened this issue Nov 24, 2023 · 0 comments

Comments

@Robert321245
Copy link

Robert321245 commented Nov 24, 2023

It would be amazing if this app could measure the height of large objects using the angle.
There are apps that do this but none of them are open-source.

This could work just like a mechanic clinometer:
https://www.youtube.com/watch?v=zjuiKhbZPMs
https://www.youtube.com/watch?v=EahhlAazK1Y

First the user input the distance from the object.
Then, using the camera, the user indicate the base and the top of a large object (like a tree or a building).
The delta angle between these two points can be used to measure the height of the object.

This would be useful for geologist to measure the size of an outcrop and the individual size of the rock layers.
Also for those working with forest management, to measure the height of a tree.
It is not so precise but it would be more precise than cheap clinometers or visual estimation.

I think it would be even possible to do that in a photo already taken, just using the data from the gyroscope stored in the photo.
Take a loot how OpenCamera app reconstruct the angle in the photo using the gyroscope data:
961be148-8a9b-4888-ae2d-28b596e272e6
(the horizontal lines are the angle and the vertical lines are the compass direction)
To enable this in OpenCamera just go in settings/Camera preview.../Show angle + Show angle line + Show compass direction + show compass direction lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant