Position extraction

24 views
Skip to first unread message

Vlad Wallachia

unread,
Jan 30, 2014, 2:05:06 PM1/30/14
to andar_android_a...@googlegroups.com
I'm trying to determine with as little error as possible the phone's position in the marker coordinates.
I do this by getting the transformation matrix with getTransMatrix and immediately inverting it with arUtilMatInv.
By printing both matrices, I've noticed that the values aren't correct (the last column). The z is always the real z times 3/2 or close to it and x and y are just plain wrong.
I've measured my position in relation to the center of the marker and the values given by these functions are incorrect.
Does anybody know a way to correct this issue?
My application rests on determining the position of the camera with as much accuracy as possible.
Reply all
Reply to author
Forward
0 new messages