I have a project where i'm supposed to find the distance and the height of a specific object in an image taken by a drone using one camera. I have looked into perspective transformation/correction but i couldn't find any solutions regarding the camera tilt. I have also tried using OpenCV's cv2.getPerspectiveTransform and cv2.warpPerspective but i was not able to transform the whole image as i need ( to be able to calculate the distance from the pixel count between objects). The image gets distorted by the perspective so i would like to be able to transform my image to eye bird view like image retrieving the lost pixels from the tilt and translating the pixel count to a real world measurement. How can i achieve this?