It’s been a bit of a struggle mapping the screen coordinates to the image coordinates. What the tracker actually sends me is the screen coordinates from a (0-1) scale. For example, the middle of the screen would be (0.5, 0.5). Then I have to convert those coordinates based on the resolution of the screen. Then I have to convert those coordinates to the pixels of the image. It’s a bit more complicated considering the taskbar and the bar at the top of the form.
On the other hand, the program divides the coordinates into sections of the screen. For instance, if a picture was divided into a 2×2 grid, the points would be divided into one of those four sections.
Here, I was looking everywhere except the bottom-left corner. If you can see, the bottom-right circle is more intense than the others. That is because I looked more in that spot than the others.
Meanwhile, I’m going to do some math. Wish me luck.
Leave a Reply