CraneAlignment project finds the real height and horizontal distance and calculate the degree between camera and red circle which is taken as reference point
sametaslann/crane-alignment
Aligning the angle between the cockpit and crane using the actual height and horizontal length with the help of a reference point
Python