Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+27 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 (1 point)

3 Answers

+12 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 (1 point)
+10 votes

I think It does require in cm

answered by (1 point)
+7 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 (508 points)