Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+20 votes

I have problem that when I export the file out, I am not sure that they require pixel or centimeter for the x and y coordinate and how we can change it. Can anyone help me?

asked in CSC285_Fall2018 by (100 points)

3 Answers

+10 votes

We, my group and I, haven't figured it out yet but I believe that the optimal way to save would to be to have your x and y's stored as cm's from origin - that should be set as part of your calibration.

answered by (105 points)
+8 votes

I think It does require in cm

answered by (100 points)
+5 votes

Yes, the exported data should be in cm from the origin. This is fairly simple math:

outputX = (xInVideo - originX) / xPixelsPerCm

and similarly for the y coordinate.

answered by (1.4k points)
...