Thursday, July 19, 2018

Week 2 Thursday (Our Program vs Location)

Image result for distance between points measurement
Continuing on with the work from yesterday, I had to compare the exact location of a point on the ice to the location that my program predicted. Because the camera was always in the same frame, I could use the same four reference points to determine the predicted location of a common point. I used the same common points that I used to compare the ice rink perspective with the map of points that the freshman created. These points were almost always locations of the players on the ice.

I used the same scaling method as I did yesterday to determine where the hockey players really were, at least according to the video feed. Once I figured out the exact coordinates of that point on the ice, I would input the corresponding image J point and all the reference points in order to find out where my predicted point was. Now, I was able to find the distance between these points using a distance between coordinates calculator. Next, I will compare the difference between how far off my program and the freshman's program were.

1 comment: