Geolocating a random island using geometry and CUDA programming

NOTE: this is a genuine human work, didnt use LLM generation.

I’m writing this page as a writeup for this challengegralhix 004 made by Sofia Santos | Gralhix.

You can view, clone and locally try all code files and the final report with all instructionshere at github.

This is a photo of a resort located on an island.

a) What is the name of the resort?b) What are the coordinates of the island?c) In which cardinal direction was the camera facing when the photo was taken?

In my opinion, solving this challenge withgoogle lensis wasting a fun opportunity, so decided to solve it with math and programming.

Of course, first thing u look for is themetadata. Ran that on mylinux void:

As expected, nothing useful here. No EXIF, no GPS, no camera make or model.

U can see from the img, there are 3 landmasses:

I couldnt make a correct perspective model of birdview of this image, as clearly the image is taken by a drone and cant estimate the elevation at all (and not found in the metadata).

So I had to estimate that by intuition, I just want the relative distances between the 3 islands and angles of that triangle.

I built a small click GUI01_triangle_gui.pythat records pixel coordinates for each point in order and computes the triangle’s geometry.