Get top-down view
Hi guys, I need your help with next task:
- how to get top-down view from camera view.
- measuring real world distances in the picture (just on surface).
What i know or have:
- camera field of view (vertical, horizontal)
- camera picture resolution (vertical, horizontal)
- angle of camera view
- height of camera
- picture with compensated lens distortion.
I know, everything is about using next methods: warpPerspective(), getPerpectiveTransform, or similarly with affine transform.
But I really don't know how to correctly use it.
Thanks in advance David.