Search code examples
androidvuforia

What are the units used for the dimensions of an Image Target on Target Manager?


On Vuforia's Target Manager, whilst uploading an image target into the database, we are asked to provide the dimensions for the target.

Are these targets in Feet, or Inches, or centimetres, or millimetres?

Cookie points if you can tell me the dimensions of a normal soda can.


Solution

  • The size is in scene units. They are not a real unit. You can use whatever you want. It just affects how your objects are drawn.

    For example, if you set width to 15 when it really is 15 centimetres, then when you move an object by 1 unit it moves it by 1 centimeter. The point is just to specify something so that Vuforia knows a size, otherwise it would have no idea.

    EDIT: Here is also a link to Vuforia's documentation which also explains this (albeit a bit poorly).