By using simple prompt and one external tool, also math was explained.
By Gencay
Published: 2023-11-20
URL: https://www.learnwithmeai.com/p/chatgpt-vision-use-case-calculating

Now, before ChatGPT Vision, I was actually amazed by the applications of computer vision. I had this idea in my mind to calculate the distance between me and anything.
Of course, to do that, I have to apply some simple math, which I’ll explain to you easily, no worries. If you don’t want to know the math, which is quite simple, you can basically use the prompt.
So, after 5 minutes of reading, you’ll be able to calculate the height of this island, or anything else, with a bit of knowledge. And if you know the height of this island, you can easily calculate the distance too! Let’s begin.
Here is the original picture:

Step #1: Measuring The Bottle

\Image by Author\
The bottle’s actual height is 26 cm, but in the original picture, it is 1 cm. (I measured with a free web app, you’ll see) The distance between me and the bottle is 100 cm. This means that at a distance of 100 cm, the bottle’s height decreases from 26 cm to 1 cm.
Step 2 #: Measuring The Distance Between Me and the Island

To measure the distance between me and the island, I used Google Maps. After clicking anywhere on the map and then right-clicking, you can see the ‘Measure distance’ button.

\SS of Google Maps\
Step 3 # Measuring the bottle and The Island’s Height in the Picture
To calculate the measurements in the image, there are a few free tools on the web that I learned about from ChatGPT.

\SS of ChatGPT\
Of course, you can do this by using ChatGPT too, but I was too curious to wait, so I used one of these tools. (eleif.net)
Step 4 # Calculation with ChatGPT
Here is the prompt that I used to do the calculation, if you aren’t interested in it.
I would like you to calculate the height of this island.
The standard height of the bottle is 26 cm, but as you can see,
it appears smaller due to the distance between it and me, which is 100 cm.
The distance from me to the island is 323,200 cm.
I want to determine the actual height of this island.
It outputs the result instantly.

\SS of ChatGPT\
Step 5 # Calculation Logic
It can be calculated in different ways. ChatGPT decided to do this calculation with the similar triangles method, but I think I can explain it to you easily.
My eyes will shrink the bottle from 26:1 in 100 cm, as we can see, it shrinks. In 323.000 cm, there are 3232 -100 cm. So my eye shrunk it to 3232 x 26 = 84.032 times, then it has to be.
And the island is 0.18 cm in the picture, if we multiply this by 84.032, you will find the exact result, 15125.76 cm, which is 151.25 meters.
Step 5 # Similar Triangle Theorem / This Section is Optional
This section was written by ChatGPT. Here is the logic that was explained.

\SS Of ChatGPT\
And here is the calculation.

\SS of ChatGPT\
Final Thoughts
If you’ve read this far without skipping, you must be an engineer or a nerd. Either way, many thanks. I guess ChatGPT’s vision has too many possibilities, and I intend to discover some of them.