Log in or register to post comments

Where is the target center?

April 7, 2011 - 6:59pm #1

Is the center of the target defined by the geometric center of a bounding rectangle imposed on the target, or is it defined statistically based on the distribution of feature points in the target?

Re: Where is the target center?

April 10, 2011 - 11:16am #5

It should be pretty easy to translate your rendered content in code, once you come up with the correct X, Y offsets. Measure your target and find the point you want to be the "world center." Find the X, Y offsets from the center of the target, percents will probably be most useful here. Then in code you can find the virtual width and height of an image target using ImageTarget::getSize(), and use those percents to translate the rendered content.

- Kim

Re: Where is the target center?

April 8, 2011 - 2:27pm #4

Thanks.

So if I need to establish a specific origin on a trackable, that is offset from the center of the bounding rectangle for the image, would it be best to accomplish this when rendering, or to redesign the image target for this center?

For instance, lets say that I am using a teardrop shape with this outline..

but I want the origin of the trackable to be in the center of the bulb region (i.e. shifted down relative to the orientation above).

Re: Where is the target center?

April 8, 2011 - 5:49am #3

That's right, it's the geometric center, features are not taken into account.

- Kim

Re: Where is the target center?

April 8, 2011 - 1:50am #2

From experience it's your first suggestion.
I've never seen it to be anything else.

Log in or register to post comments