the Original Image Coordinates are in pixels fo the original image, whereas the Scaled Image Target coordinates are with respect to the target size (with origin in the center of the target);
so, you need to:
- subtract the center-point coordinates (pixels) of your image, so that you get a sect of coordinates represented with respect tot he center of the image
- normalize the coordinates by dividing by the image size, so that you get coordinates in range [-1, 1]
- multiply the normalized coordinates by the image target size (as defined in the dataset XML), so that you have the coordinates in 3d scene units
- also, you will need to flip the vertical coordinate, as the image taregt Y axis is pointing upward, whereas the original image axis is positive downward
the Original Image Coordinates are in pixels fo the original image, whereas the Scaled Image Target coordinates are with respect to the target size (with origin in the center of the target);
so, you need to:
- subtract the center-point coordinates (pixels) of your image, so that you get a sect of coordinates represented with respect tot he center of the image
- normalize the coordinates by dividing by the image size, so that you get coordinates in range [-1, 1]
- multiply the normalized coordinates by the image target size (as defined in the dataset XML), so that you have the coordinates in 3d scene units
- also, you will need to flip the vertical coordinate, as the image taregt Y axis is pointing upward, whereas the original image axis is positive downward
See also:
https://developer.vuforia.com/resources/dev-guide/virtual-buttons