Hi all,
i tested User Defined Targets of Vuforia Samples application. Everything is working fine but i have one question. There are some values in translation vector of pose matrix when UDT is created and phone is still in the same position. Can someone explain to me why it is happening?.
Example HTC Desire (Android 4.4.4)
Parameters:
UDT sceneSizeWidth: 320.0f
Pose Matrix:
Obtained by calling trackableResult.getPose().getData()
(0.9999998, -5.213349E-4, 4.02942E-4, -0.33349234,
-5.192455E-4, -0.9999865, -0.005168112, -0.3648581,
4.0563088E-4, 0.005167902, -0.99998665, 270.65475)
Phone was still in the same position but there is a x,y translation.
It is potential blocker for my own application because i need to render 2D shapes above UDT in really accurate way from real middle point of UDT.
Thanks in advance.
The slight changes in the translation are normal for UDT targets. Once the image is captured, it may be slightly adjusted as the tracker determines the refined position of target. The tracker wants to find the perpendicular vector of the target and when a UDT is captured, it is not at a perfect 90 degree angle.