By juaizdom
on Wed, 05/11/2022 - 08:49
Hello,
I'm using Vuforia 10.6.3 and would like to know if it is possible to access the four coordinates of the corners of an image target when found.
I would like to remove the perspective of the target from the user's point of view.
Thanks.
Hey there,
Hey there,
You could use the GetSize method: https://library.vuforia.com/sites/default/files/references/unity/classVuforia_1_1ImageTargetBehaviour.html#a84343e9d384d8b7e87d836a4684c69dd
Kind regards,
Patrick Scheper
Hello,
Hello,
With GetSize(), as detailed in the documentation, I obtain the size of the ImageTargetBehaviour, but this has nothing to do with the 4 corners coordinates.
It would be really great if Vuforia gave access to the user to these 4 positions.
Thanks.
Anyway, I found a way to
Anyway, I found a way to solve it by tracking the four corners and calling WorldToScreenPoint on the Vuforia camera.
Hey,
Hey,
Sorry for the delayed response. I am happy to hear that you were able to find a way to solve it. I was thinking that you could use GetSize and calculate the corners by using the center of the tracked image target.
Kind regards,